Skip to main content
GET
/
v1
/
prompts
/
deployments
List closed-loop prompt-improvement deployments
curl --request GET \
  --url https://api.trulayer.ai/v1/prompts/deployments \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "cluster_signature": "<string>",
      "status": "proposed",
      "current_prompt": "<string>",
      "proposed_prompt": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "rationale": "<string>",
      "ab_report": {},
      "regression_metric": 123,
      "shipped_at": "2023-11-07T05:31:56Z",
      "rolled_back_at": "2023-11-07T05:31:56Z",
      "approved_by": "<string>",
      "rejection_reason": "<string>"
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

SDK API key (tl_...) or Clerk session JWT

Query Parameters

status
enum<string>
Available options:
proposed,
ab_running,
ab_passed,
ab_failed,
shipped,
monitoring,
regressed,
rolled_back,
rejected
project_id
string<uuid>
limit
integer
Required range: 1 <= x <= 200
offset
integer
Required range: x >= 0

Response

Prompt deployment list

items
object[]
required
total
integer<int64>
required
limit
integer
required
offset
integer
required