In Truvera, API calls which depend on external systems may spawn jobs whose status can be queried until they complete. Examples include blockchain operations that we submit on your behalf and credential issuance via email. For instance, revoking a credential may require a blockchain transaction to finalize. This typically takes 5-10 seconds, depending on network load and other factors.
When an API call triggers a job, the response will contain a job ID that can be sent to this endpoint to track the job's status. Like other asynchronous operations, you can receive job information either by polling the API or registering a webhook.
To check the job status and data, you can use the GET method and simply put the job ID. It will return information related to the job being processed and its associated blockchain transaction. On completion or failure, the job data will be updated with a response from the blockchain.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | JobId | true | Represents a Job id. |
{% openapi src="https://swagger-api.truvera.io/openapi.yaml" path="/jobs/{id}" method="get" %} https://swagger-api.truvera.io/openapi.yaml {% endopenapi %}