Agents

Get an agent log

GET

Path parameters

eventIdstringRequired
Event ID

Query parameters

environmentIdstringRequired
Environment ID

Response

This endpoint returns an object
data
object
A log of an agent execution

Errors

GET
$curl -G https://api.x.flatfile.com/v1/agents/log/commons.EventId \
> -H "Authorization: Bearer <token>" \
> -d environmentId=us_env_YOUR_ID
Response
1{
2 "data": {
3 "eventId": "us_evt_YOUR_ID",
4 "success": true,
5 "createdAt": "2022-09-18T00:19:57.007Z",
6 "completedAt": "2022-09-18T00:20:04.007Z",
7 "duration": 500,
8 "topic": "space:created",
9 "context": {},
10 "log": "SUCCESS"
11 }
12}