Hướng dẫn AgentFlow

get_batch_run

GET/entities/{entity_id}/records/batch-runs/{batch_run_id}
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

entity_id*string

Entity id

Formatuuid
batch_run_id*string

Batch run id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/records/batch-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "arity": "single",  "counts": {    "failed": 0,    "pending": 0,    "skipped": 0,    "started": 0  },  "header": {    "action_id": "52d6fa12-2c88-46da-984a-4cc821c7837a",    "arity": "single",    "created_at": "2019-08-24T14:15:22Z",    "entity_id": "8161163a-f227-466f-bc01-090a01e80165",    "failure_code": "string",    "failure_detail": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "record_action_launch": null,    "requester_credential_id": "7a0b2aa6-b882-418f-a387-b05452d6a614",    "status": "pending",    "version_id": "9e94c502-ca41-4342-a7f7-af96b444512c",    "workflow_id": "03e70e31-d7a4-4401-a629-6a4b6096cdfe"  },  "members": [    {      "error_code": "string",      "failure_detail": "string",      "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",      "ordinal": 0,      "record_id": "8bf519b6-a3e0-49d2-8e42-039542d9a489",      "status": "pending"    }  ]}