---
title: "GET /api/{org_id}/prompts"
method: GET
path: "/api/{org_id}/prompts"
tags: ["Prompts"]
---

# GET /api/{org_id}/prompts

`GET /api/{org_id}/prompts`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/prompts`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/prompts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required

## Query parameters

- `includeArchived` boolean
- `folderId` string, nullable

## Response `200`

- object
  - `list` PromptResponseBody[], required
    - `createdAt` integer, required
    - `createdBy` string, required
    - `description` string, nullable
    - `entityId` string, required
    - `folderId` string, required
    - `labels` PromptLabelResponseBody[], required
      - `deletedAt` integer, nullable
      - `name` string, required
      - `updatedAt` integer, required
      - `updatedBy` string, required
      - `version` integer, nullable
    - `latestVersion` integer, required
    - `name` string, required
    - `status` string, required
    - `tags` string[], required
    - `type` string, required
    - `updatedAt` integer, required
    - `updatedBy` string, required

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
