# PromptLayer integration

> Prompt management, LLM request logging and observability, evaluations, and workflows.

- Authentication: apiKey

## Tools (143)

- **Add Column to Evaluation Pipeline**: This endpoint adds evaluation steps (columns) to an existing evaluation pipeline.
- **Add Request Log to Draft Dataset**: Add a request log as a row in the draft dataset version for a dataset group.
- **Add Rows**: Append rows to a Table sheet.
- **Add Trace to Draft Dataset**: Add an observability trace (or a specific span subtree) as a row in the draft dataset version for a dataset group.
- **Attach Dataset Group External ID**: Attach a `{source, external_id}` mapping to an existing dataset group.
- **Attach Folder External ID**: Attach a `{source, external_id}` mapping to an existing folder.
- **Attach Prompt Template External ID**: Attach a `{source, external_id}` mapping to an existing prompt template.
- **Attach Report External ID**: Attach a `{source, external_id}` mapping to an existing report or evaluation pipeline.
- **Attach Skill Collection External ID**: Attach a `{source, external_id}` mapping to an existing skill collection.
- **Attach Tool Registry External ID**: Attach a `{source, external_id}` mapping to an existing tool registry entry.
- **Attach Workflow External ID**: Attach a `{source, external_id}` mapping to an existing workflow.
- **Cancel Table Sheet Operation**: Cancel an active recalculation operation for a sheet.
- **Cancel Table Sheet Scorecard**: Cancel active queued or running scorecard work for a sheet.
- **Close Trace**: Marks a trace as closed, preventing any further spans from being written to it.
- **Configure Custom Scoring**: Configure the score card for an evaluation pipeline.
- **Configure Table Sheet Score**: Configure scoring for a Table sheet.
- **Configure Table Sheet Scorecard**: Create or update the active scorecard for a sheet.
- **Create Column**: Create a column in a Table sheet and create cells for existing rows.
- **Create Dataset Group**: Create a dataset group in a workspace.
- **Create Dataset Version from File**: Create a dataset version by submitting a base64-encoded CSV or JSON file.
- **Create Dataset Version from Filter Params**: Create a dataset version asynchronously from existing request logs.
- **Create Draft Dataset Version**: Create a mutable draft dataset version for a dataset group.
- **Create Evaluation Pipeline**: Create an Evaluation Pipeline associated with a dataset group.
- **Create Folder**: Creates a new folder in the workspace.
- **Create Prompt Template Label**: Create a release label for a prompt template version.
- **Create Sheet**: Create a new sheet and start an asynchronous import job.
- **Create Skill Collection**: Create a new skill collection using either a JSON body or a multipart form upload with a ZIP archive.
- **Create Spans Bulk**: Create multiple observability spans in one request, optionally creating a request log alongside each span.
- **Create Table**: Create a Table with a default `Sheet 1`, a `Column A` text column, and one empty row when `create_default_sheet` is `true` (default).
- **Create Table Sheet Operation**: Queue a `recalculate` operation for selected columns, rows, and cell statuses.
- **Create Table Sheet Version**: Create a named version for a Table sheet.
- **Create Tool Env Var**: Create a tool-scoped environment variable.
- **Create Tool Registry**: Create a new tool in the Tool Registry with an initial version.
- **Create Tool Version**: Create a new immutable version of an existing tool.
- **Create Workflow**: Create a new Workflow or create a new version of an existing Workflow programmatically.
- **Create Workspace Env Var**: Create a workspace-scoped environment variable.
- **Delete Column**: Delete a column and its cells.
- **Delete Dataset Group External ID**: Detach an external ID mapping from a dataset group.
- **Delete Evaluation Pipeline**: Archive a single evaluation pipeline by ID.
- **Delete Evaluation Pipeline Column**: Delete a single column from an evaluation pipeline blueprint.
- **Delete Folder Entities**: Deletes one or more entities from the workspace.
- **Delete Folder External ID**: Detach an external ID mapping from a folder.
- **Delete Prompt Template External ID**: Detach an external ID mapping from a prompt template.
- **Delete Prompt Template Label**: Delete a prompt label from a prompt version.
- **Delete Report External ID**: Detach an external ID mapping from a report or evaluation pipeline.
- **Delete Reports by Name**: This endpoint archives all reports with the specified name within the workspace associated with the provided API key.
- **Delete Sheet**: Delete a sheet from a Table.
- **Delete Skill Collection External ID**: Detach an external ID mapping from a skill collection.
- **Delete Table**: Delete a Table.
- **Delete Table Sheet Scorecard**: Soft-delete the active scorecard for a sheet.
- **Delete Tool Env Var**: Permanently delete a tool-scoped environment variable.
- **Delete Tool Registry External ID**: Detach an external ID mapping from a tool registry entry.
- **Delete Workflow External ID**: Detach an external ID mapping from a workflow.
- **Delete Workspace Env Var**: Permanently delete a workspace-scoped environment variable.
- **Edit Evaluation Pipeline Column**: Update an existing column on an evaluation pipeline blueprint.
- **Get Cell**: Retrieve one cell from a Table sheet.
- **Get Dataset Rows**: Retrieve paginated rows from a dataset with cell-level data.
- **Get Evaluation**: This endpoint allows you to retrieve the info about a report.
- **Get Evaluation Rows**: Retrieve paginated evaluation rows with dataset input cells followed by evaluation result cells.
- **Get Evaluation Score**: This endpoint allows you to retrieve the score of a specific report by its ID.
- **Get Prompt Template**: Retrieve a prompt template using either the `prompt_name` or `prompt_id`.
- **Get Prompt Template (Raw)**: Retrieve raw prompt template data without applying input variables.
- **Get Request**: Retrieve the full payload of a logged request by ID.
- **Get Sheet**: Retrieve one sheet in a Table.
- **Get Sheet Import Operation**: Poll a sheet import operation started by Create Table Sheet, Create Table Sheet File Import, or Create Table Sheet Request Log Import.
- **Get Skill Collection**: Fetch a skill collection by UUID, collection name, or root path.
- **Get Snippet Usage**: Get all prompts that use a given snippet (prompt template).
- **Get Table**: Retrieve one Table by ID.
- **Get Table Sheet Operation**: Poll a sheet recalculation operation.
- **Get Table Sheet Score**: Retrieve the current score payload for a sheet.
- **Get Table Sheet Scorecard**: Get the active scorecard for a sheet, plus the latest run metadata.
- **Get Table Sheet Scorecard Calculation**: Get details for one scorecard calculation.
- **Get Table Sheet Scorecard Row**: Get the scorecard breakdown for one row.
- **Get Table Sheet Score History**: Retrieve score-history points across sheet versions.
- **Get Table Sheet Version**: Retrieve one sheet version, including its snapshot.
- **Get Tool Registry**: Retrieve a tool from the Tool Registry by ID or name.
- **Get Trace**: Retrieve all spans for a trace ID.
- **Get Workflow**: Retrieve a workflow by ID or name, including full node configuration, edges, and version details.
- **Get Workflow Labels**: List all release labels for a workflow.
- **Get Workflow Version Execution Results**: Retrieve the execution results of a specific Workflow version.
- **Import File Into Table Sheet**: Start an asynchronous CSV import into an existing Table sheet.
- **Import Request Logs Into Table Sheet**: Start an asynchronous request-history import into an existing Table sheet.
- **Ingest Traces (OTLP)**: Ingest OpenTelemetry traces through PromptLayer's OTLP/HTTP endpoint.
- **List Columns**: List all columns in a sheet, ordered by their position rank.
- **List Dataset Group External IDs**: List all external ID mappings attached to a dataset group.
- **List Datasets**: Retrieve a paginated list of datasets based on various filtering criteria.
- **List Evaluations**: Retrieve a paginated list of evaluations in your workspace.
- **List Folder Entities**: Lists entities within a folder or at the workspace root.
- **List Folder External IDs**: List all external ID mappings attached to a folder.
- **List Prompt Template External IDs**: List all external ID mappings attached to a prompt template.
- **List Prompt Template Labels**: Retrieve all the release labels assigned to a prompt template.
- **List Prompt Templates**: Get a paginated list of all prompt templates in your workspace.
- **List Report External IDs**: List all external ID mappings attached to a report or evaluation pipeline.
- **List Rows**: Retrieve rows from a Table sheet using cursor pagination.
- **List Sheets**: List all sheets in a table, ordered by their index (display position).
- **List Skill Collection External IDs**: List all external ID mappings attached to a skill collection.
- **List Skill Collections**: Retrieve all non-deleted skill collections available in the authenticated workspace.
- **List Tables**: List Tables in the workspace.
- **List Table Sheet Operations**: List active recalculation operations and cell status counts for a Table sheet.
- **List Table Sheet Scorecard Rows**: List row-level scorecard summaries for a calculation.
- **List Table Sheet Versions**: List saved versions for a sheet using cursor pagination.
- **List Tool Env Vars**: List all environment variables scoped to a specific tool.
- **List Tool Registries**: List all tools in the Tool Registry for the workspace.
- **List Tool Registry External IDs**: List all external ID mappings attached to a tool registry entry.
- **List Workflow External IDs**: List all external ID mappings attached to a workflow.
- **List Workflows**: Get a list of all workflows in the system.
- **List Workspace Env Vars**: List all environment variables in the workspace scope.
- **Log Request**: Log a request made outside of PromptLayer's managed run APIs.
- **Migrate Legacy Score to Scorecard**: Convert legacy sheet scoring into scorecard criteria.
- **Move Folder Entities**: Moves one or more entities into a target folder, or to the workspace root if no folder\_id is provided.
- **Move Prompt Template Label**: Move a prompt label from one prompt version to another
- **Patch Prompt Template Version**: Partially update a prompt template by creating a new version from an existing base version.
- **Patch Workflow**: Partially update a Workflow by creating a new version from an existing base version.
- **Publish Prompt Template**: Publish Prompt Template allows you to programmatically create a new version of a prompt template and make it available for use in the application.
- **Recalculate Cell**: Trigger recalculation for a single cell.
- **Recalculate Cells (Batch)**: Trigger recalculation for a batch of cells by ID.
- **Recalculate Table Sheet Score**: Queue recalculation for an existing Table sheet score configuration.
- **Recalculate Table Sheet Scorecard**: Queue a scorecard recalculation for a sheet.
- **Rename Evaluation Pipeline**: Rename or retag an evaluation pipeline.
- **Request Analytics**: Get aggregated analytics for request logs using the same filter syntax as Search Request Logs.
- **Request Analytics Custom Analytics**: Run custom aggregations over your request logs.
- **Resolve Folder ID by Path**: Resolves a folder's ID from its dot-separated path (e.g., `"My Folder.Subfolder"`).
- **Run Full Evaluation**: This endpoint allows you to run an evaluation pipeline.
- **Run Workflow**: Initiate an execution of a Workflow by name.
- **Save Draft Dataset Version**: Publish a draft dataset version by assigning it the next real version number.
- **Save Skill Collection Version**: Create a new saved version of a skill collection.
- **Search Request Logs**: Search logged requests using structured filters, free-text search, sorting, and pagination.
- **Search Request Suggestions**: Get autocomplete suggestions for request log fields.
- **Test Execute Tool**: Run a tool's execution body in the sandbox against test inputs.
- **Trace Analytics Custom Queries**: Run custom aggregations over your traces.
- **Track Group**: Track Group
- **Track Metadata**: Associate metadata with an existing request log.
- **Track Prompt**: Associate a prompt template with an existing request log.
- **Track Score**: Track score allows you to associate a score 0-100 with each request.
- **Update Cell**: Update a text-column cell with `display_value`, `value`, or both.
- **Update Column**: Update a column's title, config, or dependencies.
- **Update Folder**: Renames an existing folder.
- **Update Sheet**: Update a sheet's title or display index (position within the table).
- **Update Skill Collection**: Rename an existing skill collection by identifier.
- **Update Table**: Update a Table.
- **Update Tool Env Var**: Update the value of a tool-scoped environment variable.
- **Update Workspace Env Var**: Update the value of a workspace-scoped environment variable.
- **Upsert Prompt Template by External ID**: Publish a prompt template by a customer-defined external ID.

Connect PromptLayer in General Input: https://www.generalinput.com/apps/promptlayer