Automation Sources
Last updated
Last updated
The automation/sources
namespace provides API methods to retrieve all or specific automation sources for a project. This page covers the following API methods:
/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.
This method supports the following expands so you can automatically include additional information for referenced objects:
users
200
400
401
403
422
(details)
/automation/sources/{automation_source_id}
Returns a single automation source.
This method supports the following expands so you can automatically include additional information for referenced objects:
users
200
400
401
403
404
422
(details)
project_id
id
required
ID of the project.
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.
automation_source_id
id
required
ID of the automation source to return.
expands
string
Comma-separated list of expands to return.