Skip to main content
PATCH
/
agents
/
{agentId}
/
runs
/
{runId}
cURL
curl --request PATCH \
  --url https://api.lucidtech.ai/{basePath}/agents/{agentId}/runs/{runId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "status": "archived"
}
'
{
  "agentId": "<string>",
  "runId": "<string>",
  "updatedTime": "<string>",
  "updatedBy": "<string>",
  "createdBy": "<string>",
  "createdTime": "<string>",
  "id": "<string>",
  "variablesFileUrl": "<string>",
  "events": [
    {}
  ],
  "resourceIds": [
    "<string>"
  ],
  "status": "archived"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Content-Type
string
required

Path Parameters

agentId
string
required
runId
string
required

Body

application/json
status
enum<string>
Available options:
archived

Response

200 response

agentId
string
required
runId
string
required
updatedTime
string | null
updatedBy
string | null
Maximum string length: 4096
createdBy
string | null
Maximum string length: 4096
createdTime
string | null
id
string
variablesFileUrl
string | null
events
object[]
resourceIds
string[]
status
enum<string>
Available options:
archived,
exported,
pending-export,
pending-predictions,
ready-for-review,
review-completed,
succeeded-predictions,
error,
running,
completed,
review-in-progress