PromptLayer
promptlayerPromptLayer is a prompt management and observability platform for versioning, evaluating, running, and analyzing LLM applications.
Acciones disponibles (16)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Prompt TemplatePROMPTLAYER_GET_PROMPT_TEMPLATEAcciónRetrieve a prompt template version, release label, messages, model metadata, snippets, and optionally provider-ready kwargs without executing it.
PROMPTLAYER_GET_PROMPT_TEMPLATEAcciónRetrieve a prompt template version, release label, messages, model metadata, snippets, and optionally provider-ready kwargs without executing it.
Parámetros de entrada
labelstringRelease label to resolve, such as production or staging. Cannot be used with version.
versionintegerSpecific positive version number. Cannot be used with label.
identifierstringObligatorioPrompt-template name or numeric ID.
resolve_snippetsbooleanWhether to expand snippet references in the returned template.
include_llm_kwargsbooleanWhether to include provider-specific kwargs derived from the template's model metadata.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Registered ToolPROMPTLAYER_GET_REGISTERED_TOOLAcciónRetrieve a PromptLayer registered tool definition by ID or name at a selected version or release label without test execution.
PROMPTLAYER_GET_REGISTERED_TOOLAcciónRetrieve a PromptLayer registered tool definition by ID or name at a selected version or release label without test execution.
Parámetros de entrada
labelstringRelease label to resolve; mutually exclusive with version.
versionstringSpecific version to resolve; mutually exclusive with label.
identifierstringObligatorioRegistered tool's numeric ID or name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Request LogPROMPTLAYER_GET_REQUEST_LOGAcciónRetrieve one PromptLayer request log with its recorded input, output, timing, usage, metadata, tags, and scores.
PROMPTLAYER_GET_REQUEST_LOGAcciónRetrieve one PromptLayer request log with its recorded input, output, timing, usage, metadata, tags, and scores.
Parámetros de entrada
request_idintegerObligatorioPromptLayer request-log ID returned by request-log search.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Skill CollectionPROMPTLAYER_GET_SKILL_COLLECTIONAcciónRetrieve a PromptLayer skill collection and its files as JSON at a selected version or release label.
PROMPTLAYER_GET_SKILL_COLLECTIONAcciónRetrieve a PromptLayer skill collection and its files as JSON at a selected version or release label.
Parámetros de entrada
labelstringRelease label to resolve; mutually exclusive with version.
versionintegerPositive version number to retrieve; mutually exclusive with label.
identifierstringObligatorioSkill collection UUID, name, or root path.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TablePROMPTLAYER_GET_TABLEAcciónRetrieve one PromptLayer Table's metadata and per-sheet row counts by UUID.
PROMPTLAYER_GET_TABLEAcciónRetrieve one PromptLayer Table's metadata and per-sheet row counts by UUID.
Parámetros de entrada
table_idstringObligatorioTable UUID returned by list tables.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get WorkflowPROMPTLAYER_GET_WORKFLOWAcciónRetrieve a PromptLayer workflow definition by ID or name at a specific version or release label without running it.
PROMPTLAYER_GET_WORKFLOWAcciónRetrieve a PromptLayer workflow definition by ID or name at a specific version or release label without running it.
Parámetros de entrada
labelstringRelease label to resolve; mutually exclusive with version.
versionintegerSpecific positive version to retrieve; mutually exclusive with label.
workflow_id_or_namestringObligatorioWorkflow ID or name.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Folder EntitiesPROMPTLAYER_LIST_FOLDER_ENTITIESAcciónBrowse or search PromptLayer folders and registry entities in the API-key workspace, optionally recursively and with metadata.
PROMPTLAYER_LIST_FOLDER_ENTITIESAcciónBrowse or search PromptLayer folders and registry entities in the API-key workspace, optionally recursively and with metadata.
Parámetros de entrada
tagsstring[]Tags used to filter entity types that support tags. Accepts one or more tags.
flattenbooleanReturn descendants recursively instead of direct children only.
sort_bystringenumSort by created_at, updated_at, name, or id.
created_atupdated_atnameidfolder_idintegerFolder to browse; omit for the workspace root.
sort_orderstringenumSort direction: asc or desc.
ascdescexternal_idstringExternal-ID value; provide together with external_source.
filter_typesstring[]Entity types to include. Accepts one or more of FOLDER, PROMPT, SNIPPET, WORKFLOW, DATASET, REPORT, AB_TEST, or INPUT_VARIABLE_SET.
search_querystringCase-insensitive partial entity-name search.
external_sourcestringExternal-ID source; provide together with external_id.
created_by_emailstringCreator email to match exactly.
include_metadatabooleanInclude type-specific metadata such as prompt type and latest version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Prompt TemplatesPROMPTLAYER_LIST_PROMPT_TEMPLATESAcciónSearch and page through PromptLayer prompt templates and snippets without executing a model.
PROMPTLAYER_LIST_PROMPT_TEMPLATESAcciónSearch and page through PromptLayer prompt templates and snippets without executing a model.
Parámetros de entrada
namestringCase-insensitive partial prompt-template name.
tagsstring[]Tags that every returned template must contain. Accepts one tag or a list.
labelstringRelease label such as production or staging.
statusstringenumTemplate status to return.
activedeletedallsort_bystringenumField used to sort templates.
created_atupdated_atnameidper_pageintegerMaximum templates in this page (1-100).
is_snippetbooleanTrue for snippets only, false to exclude snippets, or omit for both.
sort_orderstringenumSort direction.
ascdescexternal_idstringExternal-ID value. Provide together with external_source.
next_cursorstringContinuation cursor returned by a previous call.
created_afterstringdate-timeReturn templates created at or after this timestamp.
updated_afterstringdate-timeReturn templates updated at or after this timestamp.
created_beforestringdate-timeReturn templates created at or before this timestamp.
updated_beforestringdate-timeReturn templates updated at or before this timestamp.
external_sourcestringExternal-ID source. Provide together with external_id.
created_by_emailstringCreator email to match exactly.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Registered ToolsPROMPTLAYER_LIST_REGISTERED_TOOLSAcciónList and filter tools defined in PromptLayer's tool registry without executing them.
PROMPTLAYER_LIST_REGISTERED_TOOLSAcciónList and filter tools defined in PromptLayer's tool registry without executing them.
Parámetros de entrada
sort_bystringenumSort by created_at, updated_at, name, or id.
created_atupdated_atnameidsort_orderstringenumSort direction: asc or desc.
ascdescexternal_idstringExternal-ID value; provide together with external_source.
created_afterstringdate-timeReturn tools created at or after this timestamp.
updated_afterstringdate-timeReturn tools updated at or after this timestamp.
created_beforestringdate-timeReturn tools created at or before this timestamp.
updated_beforestringdate-timeReturn tools updated at or before this timestamp.
external_sourcestringExternal-ID source; provide together with external_id.
created_by_emailstringCreator email to match exactly.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Skill CollectionsPROMPTLAYER_LIST_SKILL_COLLECTIONSAcciónList and filter PromptLayer skill collections available in the API-key workspace.
PROMPTLAYER_LIST_SKILL_COLLECTIONSAcciónList and filter PromptLayer skill collections available in the API-key workspace.
Parámetros de entrada
sort_bystringenumSort by created_at, updated_at, name, or id.
created_atupdated_atnameidsort_orderstringenumSort direction: asc or desc.
ascdescexternal_idstringExternal-ID value; provide together with external_source.
created_afterstringdate-timeReturn collections created at or after this timestamp.
updated_afterstringdate-timeReturn collections updated at or after this timestamp.
created_beforestringdate-timeReturn collections created at or before this timestamp.
updated_beforestringdate-timeReturn collections updated at or before this timestamp.
external_sourcestringExternal-ID source; provide together with external_id.
created_by_emailstringCreator email to match exactly.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Table ColumnsPROMPTLAYER_LIST_TABLE_COLUMNSAcciónList one page of user and optionally system columns for a PromptLayer Table sheet.
PROMPTLAYER_LIST_TABLE_COLUMNSAcciónList one page of user and optionally system columns for a PromptLayer Table sheet.
Parámetros de entrada
limitintegerMaximum columns in this page (1-100).
sheet_idstringObligatorioSheet UUID returned by list table sheets.
table_idstringObligatorioParent Table UUID.
next_cursorstringOpaque continuation cursor returned by a previous call.
include_system_columnsbooleanInclude system-managed price, latency, and prompt-output metadata columns.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Table RowsPROMPTLAYER_LIST_TABLE_ROWSAcciónRead one page of rows and cells from a PromptLayer Table sheet, with optional schema and execution aggregates.
PROMPTLAYER_LIST_TABLE_ROWSAcciónRead one page of rows and cells from a PromptLayer Table sheet, with optional schema and execution aggregates.
Parámetros de entrada
limitintegerMaximum rows in this page (1-100).
orderstringenumRow order.
ascdescsheet_idstringObligatorioSheet UUID returned by list table sheets.
table_idstringObligatorioParent Table UUID.
next_cursorstringOpaque continuation cursor returned by a previous call.
include_columnsbooleanInclude column metadata alongside rows.
include_row_countbooleanInclude the total row count.
include_system_columnsbooleanInclude system-managed price, latency, and prompt-output columns.
include_execution_metadata_aggregatesbooleanInclude sheet and per-column price and latency aggregates.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TablesPROMPTLAYER_LIST_TABLESAcciónSearch and page through PromptLayer Tables by folder, name, or referenced prompt.
PROMPTLAYER_LIST_TABLESAcciónSearch and page through PromptLayer Tables by folder, name, or referenced prompt.
Parámetros de entrada
namestringCase-insensitive partial Table title.
limitintegerMaximum Tables in this page (1-100).
orderstringenumSort direction.
ascdescfolder_idintegerOnly Tables in this folder.
prompt_idintegerOnly Tables with a column referencing this prompt.
next_cursorstringOpaque continuation cursor returned by a previous call.
prompt_label_idintegerOnly Tables referencing this prompt label.
prompt_version_idintegerOnly Tables referencing this prompt version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Table SheetsPROMPTLAYER_LIST_TABLE_SHEETSAcciónList one page of sheets in a PromptLayer Table, optionally filtering by referenced prompt.
PROMPTLAYER_LIST_TABLE_SHEETSAcciónList one page of sheets in a PromptLayer Table, optionally filtering by referenced prompt.
Parámetros de entrada
limitintegerMaximum sheets in this page (1-100).
orderstringenumSort direction.
ascdesctable_idstringObligatorioParent Table UUID.
prompt_idintegerOnly sheets with a column referencing this prompt.
next_cursorstringOpaque continuation cursor returned by a previous call.
prompt_label_idintegerOnly sheets referencing this prompt label.
prompt_version_idintegerOnly sheets referencing this prompt version.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List WorkflowsPROMPTLAYER_LIST_WORKFLOWSAcciónSearch and page through PromptLayer workflows without running them.
PROMPTLAYER_LIST_WORKFLOWSAcciónSearch and page through PromptLayer workflows without running them.
Parámetros de entrada
sort_bystringenumSort by created_at, updated_at, name, or id.
created_atupdated_atnameidper_pageintegerMaximum workflows in this page (1-100).
sort_orderstringenumSort direction: asc or desc.
ascdescexternal_idstringExternal-ID value; provide together with external_source.
next_cursorstringContinuation cursor returned by a previous response. Omit for the first page and pass it back unchanged to fetch the next page.
created_afterstringdate-timeReturn workflows created at or after this timestamp.
updated_afterstringdate-timeReturn workflows updated at or after this timestamp.
created_beforestringdate-timeReturn workflows created at or before this timestamp.
updated_beforestringdate-timeReturn workflows updated at or before this timestamp.
external_sourcestringExternal-ID source; provide together with external_id.
created_by_emailstringCreator email to match exactly.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Request LogsPROMPTLAYER_SEARCH_REQUEST_LOGSAcciónSearch PromptLayer request logs by text or structured filters and return one rate-limited page sorted by operational fields.
PROMPTLAYER_SEARCH_REQUEST_LOGSAcciónSearch PromptLayer request logs by text or structured filters and return one rate-limited page sorted by operational fields.
Parámetros de entrada
querystringFree-text fuzzy-prefix search across prompt input and model output.
sort_bystringenumOperational field used to sort results.
request_start_timeinput_tokensoutput_tokenscostlatency_msstatusper_pageintegerMaximum request logs to return on this page (1-25).
sort_orderstringenumResult sort direction.
ascdescnext_cursorstringContinuation cursor returned by a previous call. Omit for the first page.
filter_groupobjectStructured AND/OR filter group for request-log fields.
include_prompt_namebooleanInclude the associated prompt-template name in each result.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not