Studio By Ai21 Labs
studio_by_ai21_labsAI21 Studio provides API access to Jurassic-1 large-language-models. Our models power text generation and comprehension features in thousands of live applications.
Acciones disponibles (57)
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.
Check Can IframeSTUDIO_BY_AI21_LABS_CHECK_CAN_IFRAMEAcciónTool to check if a URL can be embedded in an iframe. Use when you need to verify iframe compatibility before embedding external content.
STUDIO_BY_AI21_LABS_CHECK_CAN_IFRAMEAcciónTool to check if a URL can be embedded in an iframe. Use when you need to verify iframe compatibility before embedding external content.
Parámetros de entrada
urlstringObligatorioThe URL to check for iframe compatibility
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compare TextSTUDIO_BY_AI21_LABS_COMPARE_TEXTAcciónTool to compare two text strings and identify differences. Use when you need to analyze changes between an original text and its modified version.
STUDIO_BY_AI21_LABS_COMPARE_TEXTAcciónTool to compare two text strings and identify differences. Use when you need to analyze changes between an original text and its modified version.
Parámetros de entrada
modified_textstringObligatorioThe modified text to compare with the original
original_textstringObligatorioThe original text to compare against
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Aftersales Parts Classification BatchSTUDIO_BY_AI21_LABS_CREATE_AFTERSALES_PARTS_BATCHAcciónTool to create a batch job for Fnac Aftersales parts classification. Use when you need to classify multiple aftersales cases to determine which parts are needed for repairs.
STUDIO_BY_AI21_LABS_CREATE_AFTERSALES_PARTS_BATCHAcciónTool to create a batch job for Fnac Aftersales parts classification. Use when you need to classify multiple aftersales cases to determine which parts are needed for repairs.
Parámetros de entrada
casesobject[]ObligatorioArray of aftersales cases for parts classification. The array cannot be empty.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Assistant RouteSTUDIO_BY_AI21_LABS_CREATE_ASSISTANT_ROUTEAcciónTool to create a new route for an AI21 Studio assistant. Use when you need to define a new conversational path or query pattern for an assistant.
STUDIO_BY_AI21_LABS_CREATE_ASSISTANT_ROUTEAcciónTool to create a new route for an AI21 Studio assistant. Use when you need to define a new conversational path or query pattern for an assistant.
Parámetros de entrada
namestringObligatorioThe name of the route.
plan_idstringObligatorioThe unique identifier of the plan to associate with this route.
examplesstring[]ObligatorioA list of example queries or scenarios for this route.
descriptionstringObligatorioA description of the route's purpose.
assistant_idstringObligatorioThe unique identifier of the assistant to create a route for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AssistantSTUDIO_BY_AI21_LABS_CREATE_ASSISTANTSAcciónTool to create a new AI assistant in AI21 Studio. Use when you need to set up a new assistant with custom configuration, tools, and behavior.
STUDIO_BY_AI21_LABS_CREATE_ASSISTANTSAcciónTool to create a new AI assistant in AI21 Studio. Use when you need to set up a new assistant with custom configuration, tools, and behavior.
Parámetros de entrada
namestringObligatorioName of the assistant to create
toolsobject[]List of tool definitions (HTTP, MCP, file search, or web search tools) available to the assistant
avatarstringAvatar image URL or identifier for the assistant
budgetstringBudget level for the assistant. Defaults to 'medium'
modelsstring[]List of model identifiers the assistant can use
descriptionstringDescription of the assistant's purpose and capabilities
optimizationstringOptimization strategy for the assistant
requirementsobject[]List of requirements for the assistant
system_promptstringSystem prompt that defines the assistant's behavior and personality
assistant_typestringType of the assistant. Defaults to 'default'
workflow_configobjectConfiguration for workflow integration.
config_overridesobjectConfiguration overrides for the assistant
starter_questionsobject[]List of starter questions to help users interact with the assistant
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Assistant PlanSTUDIO_BY_AI21_LABS_CREATE_ASSISTANTS_ASSISTANT_ID_PLANSAcciónTool to create a new plan for an AI21 Studio assistant. Use when you need to add a new plan with Python code to an assistant.
STUDIO_BY_AI21_LABS_CREATE_ASSISTANTS_ASSISTANT_ID_PLANSAcciónTool to create a new plan for an AI21 Studio assistant. Use when you need to add a new plan with Python code to an assistant.
Parámetros de entrada
codestringObligatorioThe Python code for the plan to be created.
schemasobject[]Optional array of schema objects associated with the plan.
assistant_idstringObligatorioThe unique identifier of the assistant to create a plan for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DemoSTUDIO_BY_AI21_LABS_CREATE_DEMOAcciónTool to create a new demo in AI21 Studio. Use when you need to set up a new demo with specified visibility and status.
STUDIO_BY_AI21_LABS_CREATE_DEMOAcciónTool to create a new demo in AI21 Studio. Use when you need to set up a new demo with specified visibility and status.
Parámetros de entrada
namestringObligatorioName of the demo to create.
configobjectDemo configuration as a JSON object. Optional configuration settings for the demo.
statusstringObligatorioenumStatus of the demo (active or inactive).
activeinactivevisibilitystringObligatorioenumVisibility level of the demo (public or private).
publicprivateui_component_namestringObligatorioName of the UI component associated with this demo.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate RequirementsSTUDIO_BY_AI21_LABS_CREATE_GENERATION_REQUIREMENTSAcciónTool to generate requirements from a query or task description. Use when you need to break down a high-level task into specific requirements.
STUDIO_BY_AI21_LABS_CREATE_GENERATION_REQUIREMENTSAcciónTool to generate requirements from a query or task description. Use when you need to break down a high-level task into specific requirements.
Parámetros de entrada
querystringObligatorioThe query or task description to generate requirements from. For example, 'Build a task management system' or 'Create a user authentication system'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Thread NameSTUDIO_BY_AI21_LABS_CREATE_GENERATION_THREAD_NAMEAcciónTool to generate a thread name from a query or conversation context. Use when you need to create a descriptive title for a conversation thread.
STUDIO_BY_AI21_LABS_CREATE_GENERATION_THREAD_NAMEAcciónTool to generate a thread name from a query or conversation context. Use when you need to create a descriptive title for a conversation thread.
Parámetros de entrada
querystringObligatorioThe query or conversation context to generate a thread name from. For example, 'What is the weather like today?' or 'How do I implement authentication?'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Kirsh Grant Compliance PreviewSTUDIO_BY_AI21_LABS_CREATE_KIRSH_GRANT_COMPLIANCE_PREVIEWAcciónTool to preview grant compliance for Kirsh grants. Use when you need to check compliance status for specific grant IDs.
STUDIO_BY_AI21_LABS_CREATE_KIRSH_GRANT_COMPLIANCE_PREVIEWAcciónTool to preview grant compliance for Kirsh grants. Use when you need to check compliance status for specific grant IDs.
Parámetros de entrada
grant_idsinteger[]ObligatorioList of grant IDs (as integers) to check for compliance
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Kirsh Grant Metadata PreviewSTUDIO_BY_AI21_LABS_CREATE_KIRSH_GRANT_PREVIEWAcciónTool to retrieve grant metadata from the Kirsh preview endpoint. Use when you need to fetch grant information including grant name and associated organization details.
STUDIO_BY_AI21_LABS_CREATE_KIRSH_GRANT_PREVIEWAcciónTool to retrieve grant metadata from the Kirsh preview endpoint. Use when you need to fetch grant information including grant name and associated organization details.
Parámetros de entrada
grant_idintegerObligatorioThe unique identifier for the grant to retrieve metadata
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create MCP StorageSTUDIO_BY_AI21_LABS_CREATE_MCP_STORAGEAcciónTool to create MCP (Model Context Protocol) storage in AI21 Studio. Use when you need to register and configure an MCP server connection for your workspace.
STUDIO_BY_AI21_LABS_CREATE_MCP_STORAGEAcciónTool to create MCP (Model Context Protocol) storage in AI21 Studio. Use when you need to register and configure an MCP server connection for your workspace.
Parámetros de entrada
auth_valuestringAuthentication value (API token or header value, required if authentication_type is not 'none')
server_urlstringObligatorioURL of the MCP server to connect to
server_labelstringObligatorioHuman-readable label for the MCP server
workspace_idstringUUID of the workspace to associate with this MCP storage
allowed_toolsstring[]List of tool names allowed for this MCP storage. If not specified, all tools are allowed
auth_header_namestringName of the authentication header (required if authentication_type is 'custom-header')
authentication_typestringenumAuthentication type for MCP server.
nonetoken-apicustom-header
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SecretSTUDIO_BY_AI21_LABS_CREATE_SECRETAcciónTool to save a secret in AI21 Studio. Use when you need to securely store sensitive information like API keys or passwords.
STUDIO_BY_AI21_LABS_CREATE_SECRETAcciónTool to save a secret in AI21 Studio. Use when you need to securely store sensitive information like API keys or passwords.
Parámetros de entrada
secret_namestringObligatorioThe identifier for the secret. This name will be used to reference the secret later.
secret_valuestringObligatorioThe confidential data to be stored securely. This is the actual secret value that will be encrypted and saved.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Kirsh Grant ComplianceSTUDIO_BY_AI21_LABS_CREATE_SOLUTIONS_KIRSH_GRANT_COMPLIANCEAcciónTool to check compliance for Kirsh grant IDs. Use when you need to verify compliance status for one or more grants.
STUDIO_BY_AI21_LABS_CREATE_SOLUTIONS_KIRSH_GRANT_COMPLIANCEAcciónTool to check compliance for Kirsh grant IDs. Use when you need to verify compliance status for one or more grants.
Parámetros de entrada
grant_idsinteger[]ObligatorioArray of grant IDs to check for compliance. Each ID must be a valid integer.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Website ConnectorSTUDIO_BY_AI21_LABS_CREATE_WEBSITE_CONNECTORAcciónTool to create a website connector in AI21 Studio. Use when you need to index website content via sitemap or specific URLs for RAG or grounding purposes.
STUDIO_BY_AI21_LABS_CREATE_WEBSITE_CONNECTORAcciónTool to create a website connector in AI21 Studio. Use when you need to index website content via sitemap or specific URLs for RAG or grounding purposes.
Parámetros de entrada
typestringObligatorioenumType of connector: 'sitemap' for a sitemap URL, or 'urls' for a list of specific URLs
sitemapurlsvalueanyObligatorioEither a single sitemap URL (when type='sitemap') or a list of webpage URLs (when type='urls')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete AssistantSTUDIO_BY_AI21_LABS_DELETE_ASSISTANTAcciónTool to delete an assistant by its unique ID. Use when you need to permanently remove an assistant from the system.
STUDIO_BY_AI21_LABS_DELETE_ASSISTANTAcciónTool to delete an assistant by its unique ID. Use when you need to permanently remove an assistant from the system.
Parámetros de entrada
assistant_idstringObligatorioUnique identifier of the assistant to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Assistant RouteSTUDIO_BY_AI21_LABS_DELETE_ASSISTANT_ROUTEAcciónTool to delete a route from an AI21 Studio assistant. Use when you need to remove a routing configuration from an assistant.
STUDIO_BY_AI21_LABS_DELETE_ASSISTANT_ROUTEAcciónTool to delete a route from an AI21 Studio assistant. Use when you need to remove a routing configuration from an assistant.
Parámetros de entrada
route_idstringObligatorioThe unique identifier of the route to delete
assistant_idstringObligatorioThe unique identifier of the assistant whose route should be deleted
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete DemoSTUDIO_BY_AI21_LABS_DELETE_DEMOAcciónTool to delete a demo by its unique ID. Use when removing a specific demo from AI21 Studio.
STUDIO_BY_AI21_LABS_DELETE_DEMOAcciónTool to delete a demo by its unique ID. Use when removing a specific demo from AI21 Studio.
Parámetros de entrada
demo_idstringObligatorioUnique identifier of the demo to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete MCP StorageSTUDIO_BY_AI21_LABS_DELETE_MCP_STORAGEAcciónTool to delete an MCP (Model Context Protocol) storage configuration by its unique ID. Use when you need to permanently remove an MCP server configuration from AI21 Studio.
STUDIO_BY_AI21_LABS_DELETE_MCP_STORAGEAcciónTool to delete an MCP (Model Context Protocol) storage configuration by its unique ID. Use when you need to permanently remove an MCP server configuration from AI21 Studio.
Parámetros de entrada
mcp_idstringObligatorioUnique identifier of the MCP storage configuration to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete SecretSTUDIO_BY_AI21_LABS_DELETE_SECRETAcciónTool to delete a secret by its unique ID. Use when you need to permanently remove a secret from AI21 Studio.
STUDIO_BY_AI21_LABS_DELETE_SECRETAcciónTool to delete a secret by its unique ID. Use when you need to permanently remove a secret from AI21 Studio.
Parámetros de entrada
secret_idstringObligatorioUnique identifier of the secret to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Website ConnectorSTUDIO_BY_AI21_LABS_DELETE_WEBSITE_CONNECTORAcciónPermanently delete a website connector by its unique identifier. Use when you need to remove a website connector that is no longer needed.
STUDIO_BY_AI21_LABS_DELETE_WEBSITE_CONNECTORAcciónPermanently delete a website connector by its unique identifier. Use when you need to remove a website connector that is no longer needed.
Parámetros de entrada
connector_idstringObligatorioUnique identifier of the website connector to delete. Format: UUID string (e.g., '45fd5bfc-bf64-41db-8dab-787b18c97229'). WARNING: This permanently deletes the website connector and its configuration.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Modified DocumentSTUDIO_BY_AI21_LABS_DOWNLOAD_MODIFIED_DOCUMENTAcciónTool to download a modified document from AI21 Labs Studio. Use when you need to generate and download a document with specific content and filename.
STUDIO_BY_AI21_LABS_DOWNLOAD_MODIFIED_DOCUMENTAcciónTool to download a modified document from AI21 Labs Studio. Use when you need to generate and download a document with specific content and filename.
Parámetros de entrada
contentstringObligatorioThe document content to be downloaded. This is the text content of the document.
filenamestringObligatorioThe filename for the downloaded document. Include the file extension (e.g., 'document.txt', 'report.pdf').
Parámetros de salida
dataobjectObligatorioData 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 AssistantSTUDIO_BY_AI21_LABS_GET_ASSISTANTAcciónTool to retrieve an assistant by its unique identifier. Use when you need to get details about a specific assistant including its configuration, tools, and settings.
STUDIO_BY_AI21_LABS_GET_ASSISTANTAcciónTool to retrieve an assistant by its unique identifier. Use when you need to get details about a specific assistant including its configuration, tools, and settings.
Parámetros de entrada
assistant_idstringObligatorioThe unique identifier of the assistant to retrieve.
Parámetros de salida
dataobjectObligatorioData 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 Assistant RouteSTUDIO_BY_AI21_LABS_GET_ASSISTANT_ROUTEAcciónTool to retrieve details of a specific route for an AI21 Studio assistant. Use when you need to get information about a particular route configuration.
STUDIO_BY_AI21_LABS_GET_ASSISTANT_ROUTEAcciónTool to retrieve details of a specific route for an AI21 Studio assistant. Use when you need to get information about a particular route configuration.
Parámetros de entrada
route_idstringObligatorioThe unique identifier of the route to retrieve
assistant_idstringObligatorioThe unique identifier of the assistant
Parámetros de salida
dataobjectObligatorioData 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 Assistants By MCPSTUDIO_BY_AI21_LABS_GET_ASSISTANTS_BY_MCPAcciónTool to retrieve all assistants associated with a specific MCP (Model Context Protocol) storage configuration. Use when you need to list assistants that are connected to a particular MCP server.
STUDIO_BY_AI21_LABS_GET_ASSISTANTS_BY_MCPAcciónTool to retrieve all assistants associated with a specific MCP (Model Context Protocol) storage configuration. Use when you need to list assistants that are connected to a particular MCP server.
Parámetros de entrada
mcp_idstringObligatorioThe unique identifier of the MCP storage to retrieve assistants for.
Parámetros de salida
dataobjectObligatorioData 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 Batch Prediction StatusSTUDIO_BY_AI21_LABS_GET_BATCH_STATUSAcciónTool to check the status of a Fnac Aftersales parts classification batch prediction job. Use when you need to monitor the progress or retrieve results of a previously submitted batch.
STUDIO_BY_AI21_LABS_GET_BATCH_STATUSAcciónTool to check the status of a Fnac Aftersales parts classification batch prediction job. Use when you need to monitor the progress or retrieve results of a previously submitted batch.
Parámetros de entrada
batch_idstringObligatorioUUID format batch identifier returned from POST /solutions/fd_aftersales/parts-classification/batch. Used to query the status of a batch prediction job.
Parámetros de salida
dataobjectObligatorioData 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 DemoSTUDIO_BY_AI21_LABS_GET_DEMOAcciónTool to retrieve a demo by its unique ID. Use when you need to fetch details about a specific demo including its name, status, visibility, and configuration.
STUDIO_BY_AI21_LABS_GET_DEMOAcciónTool to retrieve a demo by its unique ID. Use when you need to fetch details about a specific demo including its name, status, visibility, and configuration.
Parámetros de entrada
demo_idstringObligatorioThe unique identifier of the demo to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Grant Kirsh MetadataSTUDIO_BY_AI21_LABS_GET_KIRSH_GRANT_METADATAAcciónTool to retrieve Kirsh grant metadata by grant ID. Use when you need to fetch grant information including grant name and organization details.
STUDIO_BY_AI21_LABS_GET_KIRSH_GRANT_METADATAAcciónTool to retrieve Kirsh grant metadata by grant ID. Use when you need to fetch grant information including grant name and organization details.
Parámetros de entrada
grant_idintegerObligatorioThe grant ID to retrieve metadata for
Parámetros de salida
dataobjectObligatorioData 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 Library Batch StatusSTUDIO_BY_AI21_LABS_GET_LIBRARY_BATCH_STATUSAcciónTool to get the ingestion status of a library batch. Use when you need to check the processing status of documents in a batch upload.
STUDIO_BY_AI21_LABS_GET_LIBRARY_BATCH_STATUSAcciónTool to get the ingestion status of a library batch. Use when you need to check the processing status of documents in a batch upload.
Parámetros de entrada
batch_idstringObligatorioThe UUID of the batch to retrieve status for
Parámetros de salida
dataobjectObligatorioData 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 MCP StorageSTUDIO_BY_AI21_LABS_GET_MCP_STORAGEAcciónTool to retrieve a specific MCP (Model Context Protocol) storage configuration by its unique ID. Use when you need to get details about a particular MCP server including its URL, label, authentication settings, and allowed tools.
STUDIO_BY_AI21_LABS_GET_MCP_STORAGEAcciónTool to retrieve a specific MCP (Model Context Protocol) storage configuration by its unique ID. Use when you need to get details about a particular MCP server including its URL, label, authentication settings, and allowed tools.
Parámetros de entrada
mcp_idstringObligatorioThe unique identifier of the MCP storage configuration to retrieve.
Parámetros de salida
dataobjectObligatorioData 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 Output ExplanationSTUDIO_BY_AI21_LABS_GET_OUTPUT_EXPLANATIONAcciónTool to get output explanation for an execution (cached or generated). Use when you need to retrieve or regenerate the explanation for a specific execution. Set force_regenerate to true to bypass cache.
STUDIO_BY_AI21_LABS_GET_OUTPUT_EXPLANATIONAcciónTool to get output explanation for an execution (cached or generated). Use when you need to retrieve or regenerate the explanation for a specific execution. Set force_regenerate to true to bypass cache.
Parámetros de entrada
execution_idstringObligatorioThe unique identifier of the execution to get the output explanation for.
force_regeneratebooleanSet to true to regenerate the explanation even if a cached version exists. Defaults to false.
Parámetros de salida
dataobjectObligatorioData 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 PlanSTUDIO_BY_AI21_LABS_GET_PLANAcciónTool to retrieve a specific plan from an AI21 Studio assistant. Use when you need to fetch details of a plan by its ID.
STUDIO_BY_AI21_LABS_GET_PLANAcciónTool to retrieve a specific plan from an AI21 Studio assistant. Use when you need to fetch details of a plan by its ID.
Parámetros de entrada
plan_idstringObligatorioUnique identifier for the plan to retrieve.
assistant_idstringObligatorioUnique identifier for the assistant that owns the plan.
Parámetros de salida
dataobjectObligatorioData 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 Website Connector By IDSTUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_BY_IDAcciónTool to retrieve details of a specific website connector by its ID. Use when you need to fetch information about a website connector in AI21 Studio.
STUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_BY_IDAcciónTool to retrieve details of a specific website connector by its ID. Use when you need to fetch information about a website connector in AI21 Studio.
Parámetros de entrada
connector_idstringObligatorioThe unique identifier of the website connector to retrieve
Parámetros de salida
dataobjectObligatorioData 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 Website Connector StatusSTUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_STATUSAcciónTool to retrieve the status of a website connector ingestion. Use when you need to check the processing status of a website that was added to AI21 Studio.
STUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_STATUSAcciónTool to retrieve the status of a website connector ingestion. Use when you need to check the processing status of a website that was added to AI21 Studio.
Parámetros de entrada
website_idstringObligatorioThe unique identifier of the website to retrieve status for
Parámetros de salida
dataobjectObligatorioData 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 Website Connector URL StatusSTUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_URL_STATUSAcciónTool to retrieve the status of a specific URL in the website connector. Use when you need to check the processing status of a URL that was previously ingested.
STUDIO_BY_AI21_LABS_GET_WEBSITE_CONNECTOR_URL_STATUSAcciónTool to retrieve the status of a specific URL in the website connector. Use when you need to check the processing status of a URL that was previously ingested.
Parámetros de entrada
url_idstringObligatorioUnique identifier of the URL whose status is being queried.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest Website ConnectorSTUDIO_BY_AI21_LABS_INGEST_WEBSITE_CONNECTORAcciónTool to ingest website content via sitemap URL in AI21 Studio. Use when you need to process and index website pages from a sitemap for RAG, grounding, or document analysis purposes.
STUDIO_BY_AI21_LABS_INGEST_WEBSITE_CONNECTORAcciónTool to ingest website content via sitemap URL in AI21 Studio. Use when you need to process and index website pages from a sitemap for RAG, grounding, or document analysis purposes.
Parámetros de entrada
labelsstring[]Optional list of labels to tag the ingested content for organization and filtering.
sitemap_urlstringObligatorioURL of the XML sitemap to ingest. Must be a valid, accessible, and well-formed sitemap URL.
client_configstringOptional client configuration string for advanced ingestion settings.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Ingest Website Connector URLSTUDIO_BY_AI21_LABS_INGEST_WEBSITE_CONNECTOR_URLAcciónTool to ingest a website URL into AI21 Studio's website connector. Use when you need to add a specific URL to be processed and indexed by the website connector for RAG or grounding.
STUDIO_BY_AI21_LABS_INGEST_WEBSITE_CONNECTOR_URLAcciónTool to ingest a website URL into AI21 Studio's website connector. Use when you need to add a specific URL to be processed and indexed by the website connector for RAG or grounding.
Parámetros de entrada
urlstringObligatorioThe website URL to ingest and process for the website connector
Parámetros de salida
dataobjectObligatorioData 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 AssistantsSTUDIO_BY_AI21_LABS_LIST_ASSISTANTSAcciónTool to retrieve all assistants from AI21 Studio. Use when you need to list available assistants, optionally filtered by workspace IDs.
STUDIO_BY_AI21_LABS_LIST_ASSISTANTSAcciónTool to retrieve all assistants from AI21 Studio. Use when you need to list available assistants, optionally filtered by workspace IDs.
Parámetros de entrada
workspace_idsstring[]Filter assistants by workspace IDs. If provided, only assistants belonging to the specified workspaces will be returned.
Parámetros de salida
dataobjectObligatorioData 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 Website ConnectorsSTUDIO_BY_AI21_LABS_LIST_CONNECTORS_WEBSITEAcciónTool to retrieve website connector information from AI21 Studio. Use when you need to get details about configured website connectors.
STUDIO_BY_AI21_LABS_LIST_CONNECTORS_WEBSITEAcciónTool to retrieve website connector information from AI21 Studio. Use when you need to get details about configured website connectors.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData 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 DemosSTUDIO_BY_AI21_LABS_LIST_DEMOSAcciónTool to retrieve all demos from AI21 Studio. Use when you need to list all available demos including their names, statuses, visibility settings, and configurations.
STUDIO_BY_AI21_LABS_LIST_DEMOSAcciónTool to retrieve all demos from AI21 Studio. Use when you need to list all available demos including their names, statuses, visibility settings, and configurations.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData 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 Library FilesSTUDIO_BY_AI21_LABS_LIST_LIBRARY_FILESAcciónTool to list files in the workspace library with optional filtering. Use to retrieve file metadata, search by name/path/status/labels, or paginate through library contents.
STUDIO_BY_AI21_LABS_LIST_LIBRARY_FILESAcciónTool to list files in the workspace library with optional filtering. Use to retrieve file metadata, search by name/path/status/labels, or paginate through library contents.
Parámetros de entrada
namestringFilter files by name. Only files matching this name will be returned.
pathstringFilter files by path prefix. Use path-like strings to organize files (e.g., 'pets/dogs', 'pets/fish'). Filtering by 'pets/' matches all files with paths starting with 'pets/'. Path matching is prefix-based, not substring-based.
labelstring[]Filter files by labels. Only files with all specified labels will be returned. Labels are case-sensitive and do not use prefix matching (unlike paths). Maximum of 20 unique labels per account.
limitintegerMaximum number of files to return. Default is 500000.
offsetintegerNumber of files to skip before returning results. Use for pagination.
statusstringenumStatus of a library file.
DB_RECORD_CREATEDUPLOADEDUPLOAD_FAILEDPROCESSEDPROCESSING_FAILED
Parámetros de salida
dataobjectObligatorioData 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 MCP StorageSTUDIO_BY_AI21_LABS_LIST_MCP_STORAGEAcciónTool to retrieve all MCP (Model Context Protocol) storage configurations from AI21 Studio. Use when you need to list available MCP servers and their configurations, optionally filtered by workspace ID.
STUDIO_BY_AI21_LABS_LIST_MCP_STORAGEAcciónTool to retrieve all MCP (Model Context Protocol) storage configurations from AI21 Studio. Use when you need to list available MCP servers and their configurations, optionally filtered by workspace ID.
Parámetros de entrada
workspace_idstringFilter MCP storage by workspace ID. If provided, only MCP storage configurations belonging to the specified workspace will be returned.
Parámetros de salida
dataobjectObligatorioData 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 ModelsSTUDIO_BY_AI21_LABS_LIST_MODELSAcciónTool to retrieve information about all available AI21 models. Use when you need to list models with their specifications, pricing, and capabilities.
STUDIO_BY_AI21_LABS_LIST_MODELSAcciónTool to retrieve information about all available AI21 models. Use when you need to list models with their specifications, pricing, and capabilities.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData 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 PlansSTUDIO_BY_AI21_LABS_LIST_PLANSAcciónTool to list all plans for a specific assistant. Use when you need to retrieve the plans associated with an assistant ID.
STUDIO_BY_AI21_LABS_LIST_PLANSAcciónTool to list all plans for a specific assistant. Use when you need to retrieve the plans associated with an assistant ID.
Parámetros de entrada
assistant_idstringObligatorioThe unique identifier of the assistant whose plans to retrieve
Parámetros de salida
dataobjectObligatorioData 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 SecretsSTUDIO_BY_AI21_LABS_LIST_SECRETSAcciónTool to retrieve all secrets from AI21 Studio secret storage. Use when you need to list stored secrets and their metadata.
STUDIO_BY_AI21_LABS_LIST_SECRETSAcciónTool to retrieve all secrets from AI21 Studio secret storage. Use when you need to list stored secrets and their metadata.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData 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 Workspace ModelsSTUDIO_BY_AI21_LABS_LIST_SETTINGS_MODELSAcciónTool to retrieve all workspace models by organization from AI21 Studio. Use when you need to list available models for the workspace.
STUDIO_BY_AI21_LABS_LIST_SETTINGS_MODELSAcciónTool to retrieve all workspace models by organization from AI21 Studio. Use when you need to list available models for the workspace.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData 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 Available ModelsSTUDIO_BY_AI21_LABS_LIST_SETTINGS_MODELS_AVAILABLEAcciónTool to retrieve all available models from AI21 Studio settings. Use when you need to list models that are available for use in the workspace.
STUDIO_BY_AI21_LABS_LIST_SETTINGS_MODELS_AVAILABLEAcciónTool to retrieve all available models from AI21 Studio settings. Use when you need to list models that are available for use in the workspace.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Modify AssistantSTUDIO_BY_AI21_LABS_MODIFY_ASSISTANTAcciónTool to modify an existing AI21 Studio assistant. Use when you need to update assistant properties like name, description, models, system prompt, or configuration. At least one field must be provided to update. All fields except assistant_id are optional.
STUDIO_BY_AI21_LABS_MODIFY_ASSISTANTAcciónTool to modify an existing AI21 Studio assistant. Use when you need to update assistant properties like name, description, models, system prompt, or configuration. At least one field must be provided to update. All fields except assistant_id are optional.
Parámetros de entrada
namestringNew name for the assistant
toolsobject[]List of tools available to the assistant (HTTP tools, MCP tools, file search, web search)
avatarstringAvatar URL or identifier for the assistant
budgetstringenumBudget level for the assistant.
lowmediumhighmodelsstring[]List of model names to use for the assistant
visibilitystringenumVisibility setting for the assistant.
publicprivatedescriptionstringNew description for the assistant
is_archivedbooleanWhether to archive the assistant. Archived assistants are not active but can be restored.
assistant_idstringObligatorioThe unique identifier of the assistant to modify
optimizationstringenumOptimization strategy for the assistant.
costlatencyrequirementsobject[]List of requirements for the assistant
system_promptstringSystem prompt that defines the assistant's behavior and personality
workflow_configobjectWorkflow configuration for the assistant.
config_overridesobjectConfiguration overrides for advanced customization of the assistant
response_languagestringenumResponse language for the assistant.
arabicdutchenglishfrenchgermanhebrewitalianportuguesespanishunset
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Modify Assistant RouteSTUDIO_BY_AI21_LABS_MODIFY_ASSISTANT_ROUTEAcciónTool to modify an existing route within an assistant. Use when you need to update the description or examples of a specific route in an AI21 Studio assistant.
STUDIO_BY_AI21_LABS_MODIFY_ASSISTANT_ROUTEAcciónTool to modify an existing route within an assistant. Use when you need to update the description or examples of a specific route in an AI21 Studio assistant.
Parámetros de entrada
examplesstring[]ObligatorioList of example strings for the route.
route_idstringObligatorioThe unique identifier of the route to modify.
descriptionstringObligatorioThe modified description for the route.
assistant_idstringObligatorioThe unique identifier of the assistant containing the route to modify.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Modify Assistant PlanSTUDIO_BY_AI21_LABS_MODIFY_PLANAcciónTool to modify an existing assistant plan in AI21 Studio. Use when you need to update the code or schemas of a plan.
STUDIO_BY_AI21_LABS_MODIFY_PLANAcciónTool to modify an existing assistant plan in AI21 Studio. Use when you need to update the code or schemas of a plan.
Parámetros de entrada
codestringObligatorioThe Python code that defines the modified plan logic. This is the main content of the plan.
plan_idstringObligatorioThe unique identifier of the plan to modify.
schemasobject[]Optional array of schema objects that define the structure or validation rules for the plan.
assistant_idstringObligatorioThe unique identifier of the assistant containing the plan to modify.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retry Ingest WebsiteSTUDIO_BY_AI21_LABS_RETRY_INGEST_WEBSITEAcciónTool to retry ingestion of a website in AI21 Studio. Use when a website ingestion has failed and you need to trigger another attempt to ingest the content.
STUDIO_BY_AI21_LABS_RETRY_INGEST_WEBSITEAcciónTool to retry ingestion of a website in AI21 Studio. Use when a website ingestion has failed and you need to trigger another attempt to ingest the content.
Parámetros de entrada
website_idstringObligatorioThe unique UUID identifier of the website to retry ingestion for. Must be a valid UUID format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run AssistantSTUDIO_BY_AI21_LABS_RUN_ASSISTANTAcciónTool to run an AI21 Studio assistant with conversational input. Use when you need to interact with a configured AI21 assistant by providing messages and receiving responses. The assistant processes the input messages and returns a result based on its configuration. Supports multiple languages and optional features like dynamic planning and structured RAG.
STUDIO_BY_AI21_LABS_RUN_ASSISTANTAcciónTool to run an AI21 Studio assistant with conversational input. Use when you need to interact with a configured AI21 assistant by providing messages and receiving responses. The assistant processes the input messages and returns a result based on its configuration. Supports multiple languages and optional features like dynamic planning and structured RAG.
Parámetros de entrada
inputobject[]ObligatorioArray of messages representing the conversation input. Each message must have a role and content.
includestring[]Array of additional fields to include in the response (e.g., 'data_sources', 'requirements_result', 'requirements_result.metadata')
verbosebooleanEnable verbose output for detailed execution information. Defaults to false.
output_typeobjectSpecify the structure or type of the expected output
assistant_idstringObligatorioThe unique identifier of the assistant to run
system_promptstringOptional system prompt to override the assistant's default system prompt
response_languagestringenumSupported response languages for the assistant.
arabicdutchenglishfrenchgermanhebrewitalianportuguesespanishunsetstructured_rag_enabledbooleanEnable structured RAG (Retrieval Augmented Generation) for the assistant. Defaults to false.
dynamic_planning_enabledbooleanEnable dynamic planning for the assistant. Defaults to false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Sync Website ConnectorSTUDIO_BY_AI21_LABS_SYNC_WEBSITE_CONNECTORAcciónTool to sync a website connector in AI21 Studio. Use when you need to trigger a synchronization of website content for a specific connector.
STUDIO_BY_AI21_LABS_SYNC_WEBSITE_CONNECTORAcciónTool to sync a website connector in AI21 Studio. Use when you need to trigger a synchronization of website content for a specific connector.
Parámetros de entrada
connector_idstringObligatorioThe unique identifier of the website connector to sync.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update DemoSTUDIO_BY_AI21_LABS_UPDATE_DEMOAcciónTool to update an existing demo in Studio by AI21 Labs. Use when you need to modify demo properties such as name, status, visibility, or configuration.
STUDIO_BY_AI21_LABS_UPDATE_DEMOAcciónTool to update an existing demo in Studio by AI21 Labs. Use when you need to modify demo properties such as name, status, visibility, or configuration.
Parámetros de entrada
namestringName of the demo.
configobjectDemo configuration object.
statusstringenumStatus of the demo.
activeinactivedemo_idstringObligatorioThe unique identifier of the demo to update.
visibilitystringenumVisibility of the demo.
publicprivateui_component_namestringName of the UI component.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update MCP StorageSTUDIO_BY_AI21_LABS_UPDATE_MCP_STORAGEAcciónTool to update an existing MCP (Model Context Protocol) storage configuration in AI21 Studio. Use when you need to modify the server label of an MCP storage configuration.
STUDIO_BY_AI21_LABS_UPDATE_MCP_STORAGEAcciónTool to update an existing MCP (Model Context Protocol) storage configuration in AI21 Studio. Use when you need to modify the server label of an MCP storage configuration.
Parámetros de entrada
mcp_idstringObligatorioThe unique identifier of the MCP storage configuration to update
server_labelstringObligatorioUpdated label or name for the MCP server
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update SecretSTUDIO_BY_AI21_LABS_UPDATE_SECRETAcciónTool to update an existing secret in AI21 Studio. Use when you need to modify secret properties such as name or value.
STUDIO_BY_AI21_LABS_UPDATE_SECRETAcciónTool to update an existing secret in AI21 Studio. Use when you need to modify secret properties such as name or value.
Parámetros de entrada
secret_idstringObligatorioThe unique identifier of the secret to update
secret_namestringUpdated name for the secret
secret_valuestringUpdated value for the secret
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate PlanSTUDIO_BY_AI21_LABS_VALIDATE_PLANAcciónTool to validate Python code for an AI21 Studio assistant plan. Use when you need to verify that code is syntactically correct and executable before using it in an assistant.
STUDIO_BY_AI21_LABS_VALIDATE_PLANAcciónTool to validate Python code for an AI21 Studio assistant plan. Use when you need to verify that code is syntactically correct and executable before using it in an assistant.
Parámetros de entrada
codestringObligatorioThe Python code to validate. This should be a complete function or code block that will be validated for syntax and execution.
schemasobject[]Optional list of schema objects to validate against the code.
assistant_idstringObligatorioThe unique identifier of the assistant for which to validate the plan.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not