curl --request GET \
--url 'http://localhost:8000/training' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z",
"total": 102,
"page": 1,
"page_size": 20,
"has_next": false,
"has_prev": false,
"items": [
{
"training_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"created_at": "2026-08-31T14:22:05Z",
"started_at": "2026-08-31T14:22:05Z",
"completed_at": "2026-08-31T14:22:05Z",
"progress": 0,
"current_episode": 0,
"total_episodes": 0,
"metrics": {},
"error": "string",
"config": {}
}
]
}
List Training Jobs
Get a paginated list of training jobs.
GET
/
training
curl --request GET \
--url 'http://localhost:8000/training' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z",
"total": 102,
"page": 1,
"page_size": 20,
"has_next": false,
"has_prev": false,
"items": [
{
"training_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"created_at": "2026-08-31T14:22:05Z",
"started_at": "2026-08-31T14:22:05Z",
"completed_at": "2026-08-31T14:22:05Z",
"progress": 0,
"current_episode": 0,
"total_episodes": 0,
"metrics": {},
"error": "string",
"config": {}
}
]
}
Get a paginated list of training jobs.
Query parameters
integer
Page number
integer
Items per page
string,null
Filter by status
Response
TrainingJobListResponse-Input
string,null
Request tracking ID
string (date-time)
Response timestamp
integer
required
Total number of items
integer
Current page number
integer
Items per page
boolean
Whether there are more pages
boolean
Whether there are previous pages
TrainingJobDetail[]
List of training jobs
Show TrainingJobDetail
Show TrainingJobDetail
string
required
Training job identifier
string
required
Current status
string (date-time)
required
Creation timestamp
string (date-time),null
Start timestamp
string (date-time),null
Completion timestamp
number
Progress percentage
integer
Current training episode
integer
Total episodes
object
Training metrics
string,null
Error message if failed
object
Training configuration
Status codes
| Code | Meaning |
|---|---|
200 | List of training jobs |
401 | Authentication required |
422 | Validation Error |
429 | Rate limit exceeded |
curl --request GET \
--url 'http://localhost:8000/training' \
--header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
{
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z",
"total": 102,
"page": 1,
"page_size": 20,
"has_next": false,
"has_prev": false,
"items": [
{
"training_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"created_at": "2026-08-31T14:22:05Z",
"started_at": "2026-08-31T14:22:05Z",
"completed_at": "2026-08-31T14:22:05Z",
"progress": 0,
"current_episode": 0,
"total_episodes": 0,
"metrics": {},
"error": "string",
"config": {}
}
]
}
Last modified on August 31, 2026