Skip to main content
PATCH
/
api
/
queries
/
{id}
Update prompt
curl --request PATCH \
  --url http://localhost:8000/api/queries/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "queryText": "<string>",
  "platform": "<string>",
  "scheduledAt": "2023-11-07T05:31:56Z"
}
'

Authorizations

Authorization
string
header
required

JWT token from login. Use: Authorization: Bearer <token>

Path Parameters

id
string
required

Body

application/json
queryText
string
platform
string
scheduledAt
string<date-time> | null

Response

Updated