Automation Sources
The automation/sources
namespace provides API methods to retrieve all or specific automation sources for a project. This page covers the following API methods:
GET /projects/{project_id}/automation/sources
/projects/{project_id}/automation/sources
Returns all automation sources for a project.
This method uses pagination so you might need to request additional pages to retrieve all automation sources.
project_id
id
required
ID of the project.
Request
page
integer
Number of page to return (default: first page)
per_page
integer
Maximum number of automation sources to return (supported: 15
, 25
, 50
, 100
; default: 100
)
sort
string
Sort field for the list of automation sources (supported: automation_sources:created_at
, automation_sources:ran_at
, automation_sources:retired_at
; default: automation_sources:created_at
)
order
string
Sort order (ascending or descending) (supported: asc
, desc
; default: desc
)
is_retired
boolean
Limit result to active or retired automation sources only.
expands
string
Comma-separated list of expands to return.
This method supports the following expands so you can automatically include additional information for referenced objects:
users
Response
Examples
Status codes
200
400
401
403
422
(details)
GET /automation/sources/{automation_source_id}
/automation/sources/{automation_source_id}
Returns a single automation source.
automation_source_id
id
required
ID of the automation source to return.
Request
expands
string
Comma-separated list of expands to return.
This method supports the following expands so you can automatically include additional information for referenced objects:
users
Response
Examples
Status codes
200
400
401
403
404
422
(details)
Last updated