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.

  • List Workflow Labels

    List all release labels for a PromptLayer workflow by ID or name, including the version ID and version number each label points to.

  • List Workflows

    Search and page through PromptLayer workflows without running them.

  • List Workspace Env Vars

    List environment variables for the API key's PromptLayer workspace. Returns keys, scope IDs, timestamps, empty-value flags, and only the last four characters of stored values, rather than plaintext values.

  • 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.

  • Migrate Table Sheet Legacy Score

    Convert a PromptLayer Table sheet's existing legacy score configuration into scorecard criteria. Optionally delete the legacy score configuration after conversion. Returns the scorecard, converted count, skipped scores, and sheet version. Resource IDs must belong to the API key's workspace.

  • Move Folder Entities

    Move PromptLayer registry entities into a destination folder or to the workspace root. Supply each entity's ID and type; omit folder_id or set it to null to move to the root. Returns the number of moved entities.

  • Move Prompt Template Label

    Move an existing PromptLayer release label to a different version of the same prompt template. Supply the label ID and destination version number; the label's name and identity are preserved.

  • 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.

  • Patch Workflow

    Partially update a PromptLayer workflow by ID or name, creating a new version from the latest or a specified base version. Add, deep-merge, or remove nodes; replace dependencies, inputs, or edges; and attach release labels. The resulting workflow must retain an output node. Does not execute the workflow.

  • 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.

  • Query Request Analytics

    Read custom aggregate analytics over PromptLayer request logs. Compute counts, numeric aggregates, percentiles, grouped or time-series charts, and multi-series ratio insights, optionally narrowed with search and recursive filters. Does not modify request logs or save charts.

  • Query Trace Analytics

    Read custom aggregate analytics over PromptLayer traces and spans with recursive filters. Compute counts, costs, tokens, durations, percentiles, grouped charts, histograms, or multi-series results. Each chart must use exclusively trace-level or span-level fields; span charts cannot use timeSeries. No traces or saved charts are modified.

  • Recalculate Table Cell

    Trigger recalculation for one PromptLayer Table cell. Returns an execution ID when recalculation starts, or a message when no cells need recalculation. All IDs must belong to the API key's workspace. Computed columns may incur execution costs depending on their type.

  • Recalculate Table Cells

    Trigger recalculation for a batch of PromptLayer Table cells by ID. Returns an execution ID when recalculation starts, or a message when no cells need recalculation. All IDs must belong to the API key's workspace. Computed columns may incur execution costs depending on their type.

  • Recalculate Table Sheet Score

    Queue recalculation of an existing PromptLayer Table sheet score configuration. Scoring must already be configured; this action does not configure scoring or wait for calculation to finish. The Table and sheet must belong to the API key's workspace.

  • Recalculate Table Sheet Scorecard

    Queue recalculation of an existing PromptLayer table sheet scorecard, optionally limited to row indices and step UUIDs. The scorecard must already be configured. Returns a calculation ID and status without waiting for completion. Resources must belong to the API key's workspace.

  • Render Prompt Template

    Retrieve a prompt template by name or ID and render provider-ready llm_kwargs with input_variables using POST. Optionally select a version or release label and obtain provider-specific llm_kwargs with model parameter overrides. Does not execute an LLM call or save a template version. Use GET_PROMPT_TEMPLATE for the raw template read without input-variable substitution. The prompt_template response may retain raw placeholders; the substituted content is in llm_kwargs.

  • Resolve Folder ID

    Resolve a PromptLayer folder's ID from its dot-separated folder path within a specified workspace. Returns the folder ID for subsequent folder operations; a nonexistent path returns a not-found error.

  • 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.

PreviousPage 5 / 6Next