Skip to main content
GET
/
sources
/
{sourceKey}
/
v1
/
resources
/
bulk
/
{bulkId}
Get the result of a bulk resource request
curl --request GET \
  --url https://{workspaceId}.clinia.cloud/sources/{sourceKey}/v1/resources/bulk/{bulkId} \
  --header 'X-Clinia-API-Key: <api-key>'
{
  "status": "SUCCESS",
  "receipts": [
    {
      "receivedAt": "2023-11-07T05:31:56Z",
      "completedAt": "2023-11-07T05:31:56Z",
      "taskId": "<string>",
      "action": "CREATE",
      "status": "SUCCESS",
      "error": {
        "code": 400,
        "message": "<string>",
        "type": "ALREADY_EXISTS",
        "details": [
          {}
        ]
      },
      "pipelineExecution": {
        "id": "<string>",
        "pipelineDefinitionId": "<string>",
        "status": "SUCCESSFUL"
      },
      "targetType": "RELATIONSHIP",
      "id": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-Clinia-API-Key
string
header
required

Path Parameters

sourceKey
string
required

The source key.

bulkId
string
required

The bulk id.

Query Parameters

withReceipts
boolean
default:false

If set to true, the receipts of the operations will be included in the response. Else only the status of the bulk request will be returned.

Response

The result of the bulk request.

status
enum<string>
required

The status of the bulk request.

Available options:
SUCCESS,
PENDING,
CANCELLED,
FAILURE
receipts
object[]

The receipts of the operations. Will only be present if the query parameter withReceipts is set to true.

I