getExecutionLogs
GET
/api/v1/executions/{executionId}/logs
const url = 'https://example.com/api/v1/executions/example/logs?limit=1000';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/executions/example/logs?limit=1000'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”executionId
required
string
Query Parameters
Section titled “Query Parameters”task
Task ID filter.
string
Task ID filter.
search
Case-insensitive text filter.
string
Case-insensitive text filter.
cursor
Opaque cursor from next_cursor of the previous page.
string
Opaque cursor from next_cursor of the previous page.
limit
integer format: int64
Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
done
required
True when the execution ended and no more lines follow.
boolean
lines
required
Array<object>
object
attempt
required
integer format: int64
n
required
1-based line number in the task run.
integer format: int64
stream
required
string
task_key
required
string
task_run_id
required
string
text
required
string
ts
required
string format: date-time
key
additional properties
any
next_cursor
string
key
additional properties
any
Example
{ "lines": [ { "stream": "stdout" } ]}default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
details
message
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "details": "example", "message": "example" }}