Skip to main content
PUT
/
commands
/
{command_id}
Update Command
curl --request PUT \
  --url https://analyst.heyhumm.ai/commands/{command_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "content": "<string>"
}
'
{
  "name": "<string>",
  "content": "<string>",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "usage_count": 0,
  "current_version": 1,
  "generation_status": "ready",
  "generation_error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://heyhumm.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

command_id
string<uuid>
required

Command ID

Query Parameters

organization_id
string
required

Body

application/json

Update command model.

name
string | null
description
string | null
content
string | null

Response

Successful Response

Response model for command.

name
string
required

Command name (alphanumeric + hyphens/underscores)

content
string
required

Command content as markdown text

organization_id
string<uuid>
required

Organization ID

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null

Single sentence description of the command

created_by_user_id
string<uuid> | null
usage_count
integer
default:0
current_version
integer
default:1
generation_status
enum<string>
default:ready

Status of LLM-based command generation.

Available options:
ready,
generating,
failed
generation_error
string | null