GET
https://api.app.kognic.com/v1/request-inputs/{requestInputId}
Get a single request input and its current workflow progress by request-input id.
Validation: flexible workflows only (a legacy-workflow request returns 400); returns 404 if the input
or its request does not exist.
Access: the caller must be a collaborator on the request (owner, producer or reviewer) with a workspace
role in the project, otherwise 403.
Field availability matches List request inputs: workflowStage/currentTask require access to the
input's current phase (and an ongoing task for currentTask), workflowStage.phaseDefinition gives the
current stage's phase type with an id that is stable across requests and projects (unlike
requestPhaseId), lastCompletedAnnotationId is null until a
task has completed, and deliveryReady reflects whether a valid delivery annotation exists. The
createdAt/lastUpdatedAt/completedAt timestamps are ungated, and completedAt follows
deliveryReady — cleared when a re-correction invalidates the delivery annotation, set again on
re-delivery.
requestInputIdstring<uuid>
acceptstringGenerated from available response content types
200
400Bad request
401Unauthorized
403Forbidden
404Not found
413Payload too large
500Internal server error
import requests
import json
url = "https://api.app.kognic.com/v1/request-inputs/{requestInputId}"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)