Skip to content

Resolve context variables

Request

Resolve configuration variables for a given context defined by project, workflow, and agent identifiers

Security
OAuth2(Required scopes: context-vars.read)
Query
projectIdstring

Project identifier

Example:projectId=66e80e8f4e8215461076e24b
psWorkflowIdstring

PS Workflow identifier

Example:psWorkflowId=586b096e-8de9-4652-9664-866112d0ae55
psAgentIdstring

PS Agent identifier

Example:psAgentId=29fbdb9d-d64c-4953-a45f-7a755e9a6d21
ceWorkflowIdstring

CE Workflow identifier

Example:ceWorkflowId=cb051111-3732-4d0f-8f3e-c30c1f1ba3e2
Headers
X-Hy-Meta-Internal-Company-Idstring

Company ID for service account authorization

curl -i -X GET \
  'https://api.cloud.hypatos.ai/v2/context-vars/resolve?projectId=66e80e8f4e8215461076e24b&psWorkflowId=586b096e-8de9-4652-9664-866112d0ae55&psAgentId=29fbdb9d-d64c-4953-a45f-7a755e9a6d21&ceWorkflowId=cb051111-3732-4d0f-8f3e-c30c1f1ba3e2' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-Hy-Meta-Internal-Company-Id: string'

Responses

Successfully resolved context variables

Bodyapplication/json
property name*stringadditional property
Response
{ "emailSender": "noreply", "emailReplyTo": "support", "notifyEnabled": "true" }