Skip to main content

Get prompt by id

GET 

/v1/private/prompts/:id

Get prompt by id

Request

Path Parameters

    id uuidrequired

Responses

Prompt resource

Schema

    id uuid
    name stringrequired
    description string

    Possible values: Value must match regular expression (?s)^\s*(\S.*\S|\S)\s*$

    created_at date-time
    created_by string
    last_updated_at date-time
    last_updated_by string
    version_count int64

    latest_version

    object

    id uuid

    version unique identifier, generated if absent

    prompt_id uuid
    commit string

    Possible values: Value must match regular expression ^[a-zA-Z0-9]{8}$

    version short unique identifier, generated if absent. it must be 8 characters long

    template stringrequired
    variables string[]
    created_at date-time
    created_by string
Loading...