System Prompts

Update system prompt

Updates the content of an existing system prompt template. Changes take effect immediately for any subsequent requests that reference this prompt ID.

put/system-prompts/{id}

Request

  • Base URL: https://console.hyperstack.cloud/ai/api/v1
  • URL: https://console.hyperstack.cloud/ai/api/v1/system-prompts/{id}
  • Auth: API key in header api_key

Path parameters

idstring required

Unique identifier of the system prompt to update.

Request body

contentstring

Replacement text for the system prompt. Overwrites the existing content.

namestring

Name of the system prompt.

Example request

{
  "content": "Updated content for API test. You are a concise assistant."
}

Response

OK

contentstring required

Content of the system prompt.

idinteger required

Unique identifier of the system prompt.

namestring required

Name of the system prompt.

organization_idinteger required

ID of the organization.

user_idinteger required

ID of the user who created the prompt.

created_atstring date-time

ISO 8601 UTC timestamp indicating when the system prompt was created.

updated_atstring date-time

Last update timestamp.

uuidstring

UUID of the prompt.

Changes

No recorded changes to this operation across all 1 revision of this API.