cURL
curl --request POST \ --url https://api.lucidtech.ai/{basePath}/hooks/{hookId}/runs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: <content-type>' \ --data ' { "input": {}, "metadata": {}, "name": "<string>", "description": "<string>", "agentRunId": "<string>" } '
{ "updatedTime": "<string>", "metadata": {}, "updatedBy": "<string>", "description": "<string>", "createdBy": "<string>", "hookId": "<string>", "name": "<string>", "createdTime": "<string>", "runId": "<string>", "warnings": [ "<string>" ], "history": [ {} ], "agentRunId": "<string>", "output": {}, "input": {}, "actionId": "<string>", "logId": "<string>", "id": "<string>", "errors": [ "<string>" ], "status": "failed" }
Create Hook Run
The access token received from the authorization server in the OAuth 2.0 flow.
4096
200 response
failed
ignored
running
succeeded