Prompts

List all prompts with project filter

Changed on

Returns a list of prompts. If the project_id query parameter is not provided, returns an empty list by default. Users can filter by a project they can reach.

get/v1/prompts

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/prompts
  • Auth: HTTP bearer

Query parameters

project_idstring uuid

Optional UUID of the project to filter prompts (alias of project).

projectstring uuid

Optional UUID of the project to filter prompts (alias of project_id).

archivedboolean

Optional boolean to filter prompts by archive state.

Response

A list of prompts

Changes

    • breaking

      removed the required property // from the response with the status

    • warning

      deleted the query request parameter team

    • warning

      deleted the query request parameter team_id

    • info

      added the new optional query request parameter project

    • info

      added the new optional query request parameter project_id

    • info

      added the required property // to the response with the status

    • info

      endpoint added