Curae Platform
API referenceSDK Records

Get a connection-scoped records export

Returns status and metadata for a durable records export job created by the same SDK connection.

GET
/api/sdk/v1/records/exports/{exportId}

Returns status and metadata for a durable records export job created by the same SDK connection.

Authorization

platformApiKey
headerAuthorizationBearer <token>

Curae Platform API key using the format Bearer . Keys are opaque credentials such as cae_live_..., not JWTs.

Path Parameters

exportId*string
Formatuuid

Response Body

Records export job status and metadata.

application/json
  1. response
export*
Example Request
curl -X GET 'https://api.curaeai.com/api/sdk/v1/records/exports/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "export": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "connectionId": "84b500d7-71c8-4b1f-adf4-f1eb0000973d",    "status": "QUEUED",    "resourceTypes": [      "Observation"    ],    "format": "fhir_ndjson",    "artifact": {      "sha256": "string",      "byteSize": "string"    },    "errorCode": "string",    "queuedAt": "2019-08-24T14:15:22Z",    "startedAt": "2019-08-24T14:15:22Z",    "completedAt": "2019-08-24T14:15:22Z",    "expiresAt": "2019-08-24T14:15:22Z",    "failedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}