Authorizations
API key for authentication. Obtain from your DimRed dashboard. The organization context is automatically derived from the API key.
Body
application/json
Project identifier
Content of the prompt message
JSON schema for structured output (required)
Type of the message
Available options:
system, user, assistant JSON schema for input validation
Response
Prompt created successfully
Unique identifier for the prompt
Message identifier
Project identifier
Type of the message
Available options:
system, user, assistant Content of the prompt
JSON schema for input validation
JSON schema for structured output
Source of the prompt
Source identifier
ISO 8601 timestamp of creation