cURL
curl --request GET \ --url https://{BaseURL}/api/public/connections/{id}/execute \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "<task id>", "connection_id": "<connection id>", "container_status": "<task status PENDING|RUNNING|STOPPED>", "run_code": "<run code 200 | 500>", "records_retrieved": "<records_retrieved>", "error description": "<error description>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Created
The response is of type object.
object