Skip to content

List a project's production history

GET
/api/v1/projects/{id}/production-events
curl --request GET \
--url https://api.deploybase.eu/api/v1/api/v1/projects/example/production-events \
--header 'Authorization: <Authorization>'

Every move of the project’s production deployment, newest first, 50 per page: auto_promote (a build of the default branch went live), promote, or rollback (a promotion of an older deployment). Each names who did it (a person, an agent for a person, an API key, a git push, or the platform), through which client, and why when a reason was given. The history is append-only and kept for the project’s lifetime.

id
required
string

Project ID (UUID)

cursor
string

Next_cursor of the previous page

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
data
Array<object>
object
actor
object
client
string
Allowed values: dashboard cli mcp migrate
client_name
string
kind
string
Allowed values: user agent api_key push system
user_email
string
user_name
string
created_at
string
from_deployment_id
string
id
string
kind
string
Allowed values: auto_promote promote rollback
operation_id
string
reason
string
to_deployment_id
string
next_cursor
string

Example

{
"data": {
"data": [
{
"actor": {
"client": "dashboard",
"kind": "user"
},
"kind": "auto_promote"
}
]
}
}

Bad Request

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Project not found

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Live 39b0b6ad built