curl 'https://api.stateset.com/v1/logs?limit=50' \
-H 'Authorization: Bearer <token>'
{
"logs": [
{
"id": "log_8y4mQr5oP2",
"type": "deployment",
"description": "Build completed for deploy dep_1042",
"timestamp": "2026-07-25T18:22:03Z"
}
]
}
Get Logs
This endpoint gets new logs
GET
/
v1
/
logs
curl 'https://api.stateset.com/v1/logs?limit=50' \
-H 'Authorization: Bearer <token>'
{
"logs": [
{
"id": "log_8y4mQr5oP2",
"type": "deployment",
"description": "Build completed for deploy dep_1042",
"timestamp": "2026-07-25T18:22:03Z"
}
]
}
Verify deployment access. This reference describes an API contract, not a provisioned
public service. Check the dated host report and obtain the correct
host, API version, and workspace credentials. For a current integration, start with the
API directory.
Query parameters
integer
Maximum number of log entries to return.
Body
string
This is the ID of the logs to be get
This read takes a request body. The Fetch standard forbids a body on
GET,
so fetch() rejects this call rather than sending one — reach for a server-side
client (curl, undici.request, Python requests) instead. Proxies and CDNs are
also free to drop a body on a read, so prefer a direct connection.Response
object[]
Errors
Succeeds with200. Failures return 400, 401, 403 or 429 with an error body, per the platform status-code contract.
curl 'https://api.stateset.com/v1/logs?limit=50' \
-H 'Authorization: Bearer <token>'
{
"logs": [
{
"id": "log_8y4mQr5oP2",
"type": "deployment",
"description": "Build completed for deploy dep_1042",
"timestamp": "2026-07-25T18:22:03Z"
}
]
}
Last modified on September 21, 2026