List Deployments
GET
/api/v1/deployments
const url = 'https://example.com/api/v1/deployments?skip=0&limit=50';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/deployments?skip=0&limit=50'List deployments.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”skip
Skip
integer
limit
Limit
integer
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
DeploymentListResponse
List of deployments.
object
deployments
required
Deployments
List of deployments
Array<object>
DeploymentResponseDeployment response.
object
id
required
Id
Deployment ID
string
git_repository
required
Git Repository
Git repository name
string
branch
required
Branch
Git branch
string
status
required
DeploymentStatus
Deployment status
string
variables
on_error
required
On Error
Error handling behavior
string
created_at
required
Created At
Creation timestamp
string format: date-time
total
required
Total
Total number of deployments
integer
Example
{ "deployments": [ { "status": "pending" } ]}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}