Get User Build Status
GET/api/build-status
This endpoint retrieves the build status of a user's odyssey based on their user ID. The request must include a valid API key and user ID in the headers.
Request
Header Parameters
API key to authorize the request.
ID of the user whose status is being retrieved.
Responses
- 200
- 400
- 403
- 404
- 500
Successfully retrieved user build status.
- application/json
- Schema
- Example (from schema)
Schema
The current build status of the user's odyssey.
The timestamp when the status was created.
The ID of the workspace associated with the user's odyssey.
{
"status": "string",
"createdAt": "2024-12-12T17:23:19.599Z",
"workspaceId": "string"
}
Status not set.
- application/json
- Schema
- Example (from schema)
Schema
Error message indicating that the status is not set.
{
"message": "string"
}
Invalid API key or user is not authorized.
- application/json
- Schema
- Example (from schema)
Schema
error
object
Detailed error message.
{
"error": {
"message": "string"
}
}
User not found.
- application/json
- Schema
- Example (from schema)
Schema
error
object
Error message indicating that the user was not found.
{
"error": {
"message": "string"
}
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
Error message indicating an internal server error.
{
"message": "string"
}