Artificial Intelligence · Developer Tools

PromptLayer

PromptLayer is a prompt management and observability platform for versioning, evaluating, running, and analyzing LLM applications.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Import Request Logs Into Table Sheet

    Start an asynchronous request-history import into an existing PromptLayer Table sheet. Provide specific request_log_ids or a structured filter_group to select logs in the API key's workspace. Returns an operation_id and status_url to poll; acceptance does not mean the rows have finished importing.

  • Ingest OTLP Traces

    Ingest OpenTelemetry traces using OTLP JSON, optionally gzip-compressed. Returns partialSuccess rejection details when some spans are rejected. Set close_after to close the submitted traces and reject subsequent writes.

  • Ingest Spans

    Persist a batch of OpenTelemetry-style observability spans and optional associated request logs in PromptLayer without invoking a model. Supply nanosecond span timestamps. Optionally close all traces in the batch to reject subsequent writes. Inspect rejected_span_ids, rejected_trace_ids and rejection_reason for dropped spans, even when success is true.

  • Log Request

    Log an existing model request and response in PromptLayer with timing, usage, cost, tags, metadata, and optional prompt association. This records supplied data without invoking an LLM. Chat message content must be an array of content blocks, not a plain string. Returns the created request log ID.

  • Patch Prompt Template Version

    Create a new version of an existing PromptLayer template by patching its latest version, a specific version, or a release label. Patch chat messages/tools/functions or completion content by index or replace whole arrays, tune model parameters, and optionally move release labels. Omitted fields are preserved; explicit null removes supported settings. This stores a new version without executing an LLM or modifying the base version.

  • Publish Prompt Template

    Publish a PromptLayer registry prompt template and a new version of its chat or completion content. Creates a template or adds a version to the existing prompt name. Optionally attach tags, model metadata, release labels, and external IDs. This stores the prompt without executing an LLM.

  • Run Workflow

    Start an execution of a PromptLayer workflow by name, using its latest version or one specified label or version number. Returns an execution ID, not the completed output; retrieve results with Get Workflow Execution Results. Optionally supply inputs, metadata, or an HTTP callback URL for asynchronous delivery.

  • Save Skill Collection Version

    Create a new saved version of a PromptLayer skill collection by UUID, name, or root path. Send file text updates, path moves, and deletions as JSON, with an optional commit message and release label.

  • Track Score

    Record a score from 0 to 100 on an existing PromptLayer request log. Supply the request_id returned by logging a request and optionally a score name; omitting the name records the default score.

  • Upsert Prompt Template by External ID

    Create or update a PromptLayer registry prompt template identified by an external source and ID. Creates the template when the mapping does not exist; otherwise publishes a new version of the same template. Supply registry metadata and chat or completion content, with optional release labels and additional external IDs. Stores the prompt without executing an LLM.

PreviousPage 2 / 2