VLM Run
vlm_runVLM Run provides multimodal agents, structured extraction, predictions, files, skills, feedback, and evaluation APIs.
Acciones disponibles (11)
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.
Create SkillVLM_RUN_CREATE_SKILLAcciónCreate a reusable skill from exactly one uploaded zip, prompt, or chat session.
VLM_RUN_CREATE_SKILLAcciónCreate a reusable skill from exactly one uploaded zip, prompt, or chat session.
Parámetros de entrada
namestringSkill name; required with file_id and optional for prompt or session sources.
promptstringPrompt that becomes SKILL.md; provide exactly one skill source.
file_idstringUploaded skill zip ID; provide exactly one of file_id, prompt, or session_id.
is_publicbooleanWhether the new skill is publicly accessible.
session_idstringChat session whose history becomes the skill source; provide exactly one skill source.
descriptionstringSkill description; required with file_id and optional for prompt or session sources.
json_schemaobjectOptional output JSON schema; allowed only with a prompt source.
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
Discover Extraction SchemasVLM_RUN_DISCOVER_EXTRACTION_SCHEMASAcciónList supported structured-extraction domains, or return the full JSON schema for one domain when domain is provided.
VLM_RUN_DISCOVER_EXTRACTION_SCHEMASAcciónList supported structured-extraction domains, or return the full JSON schema for one domain when domain is provided.
Parámetros de entrada
configobjectTyped generation options to apply when resolving a domain schema. Used only when domain is provided.
domainstringDomain identifier to resolve, such as document.invoice. Omit it to list all supported extraction domains.
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
Execute AgentVLM_RUN_EXECUTE_AGENTAcciónStart a VLM Run agent execution from an existing agent name or inline configuration over multimodal inputs. Execution may consume credits and is asynchronous by default; poll the returned ID with VLM_RUN_GET_RUN.
VLM_RUN_EXECUTE_AGENTAcciónStart a VLM Run agent execution from an existing agent name or inline configuration over multimodal inputs. Execution may consume credits and is asynchronous by default; poll the returned ID with VLM_RUN_GET_RUN.
Parámetros de entrada
batchbooleanRun asynchronously when true.
modelstringOrion model override; omit to use the skill or agent default.
configobjectInline execution behavior used to identify or configure the agent.
inputsobjectNamed typed media content or plain JSON values matching the agent input schema.
metadataobjectCaller metadata and data-governance settings.
agent_namestringName and optional version of an existing agent, such as agent-name:latest.
request_idstringCaller-selected unique request identifier.
callback_urlstringHTTPS URL called when asynchronous execution completes.
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
Extract Structured JSONVLM_RUN_EXTRACT_STRUCTURED_JSONAcciónStart structured JSON extraction from images, a document, a video, or audio using a domain, custom schema, or skill. Extraction may consume credits; document, video, and audio runs are asynchronous by default, so poll the returned prediction ID with VLM_RUN_GET_RUN.
VLM_RUN_EXTRACT_STRUCTURED_JSONAcciónStart structured JSON extraction from images, a document, a video, or audio using a domain, custom schema, or skill. Extraction may consume credits; document, video, and audio runs are asynchronous by default, so poll the returned prediction ID with VLM_RUN_GET_RUN.
Parámetros de entrada
urlstringPublic media URL; for document, video, or audio use exactly one of url or file_id.
batchbooleanOverride asynchronous processing; omit to preserve the modality-specific provider default.
modelstringStructured-extraction model or quality variant, such as vlm-1:fast.
configobjectGeneration, schema, skill, quality, and media options.
domainstringExtraction domain; required for audio and optional for other modalities when config supplies a skill or custom schema.
imagesstring[]Image URLs or base64-encoded images; required only for image modality.
file_idstringUploaded file ID; for document, video, or audio use exactly one of file_id or url.
metadataobjectMetadata and data-handling preferences for the prediction.
modalitystringObligatorioenumMedia type to process; selects the matching generation endpoint.
imagedocumentvideoaudiorequest_idstringCaller-selected request identifier, sent upstream as id.
callback_urlstringCallback URL for asynchronous completion delivery.
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
Find FilesVLM_RUN_FIND_FILESAcciónList uploaded files or find one by file ID or MD5 hash. In list mode, use offset and limit until has_more is false.
VLM_RUN_FIND_FILESAcciónList uploaded files or find one by file ID or MD5 hash. In list mode, use offset and limit until has_more is false.
Parámetros de entrada
limitintegerMaximum files in list mode (1-1000).
offsetintegerZero-based list offset; sent upstream as skip and used only when no selector is supplied.
file_idstringExact uploaded file ID; mutually exclusive with md5_hash.
md5_hashstringExact 32-character MD5 hex digest used for deduplication lookup; mutually exclusive with file_id.
generate_public_urlbooleanWhether ID lookup should generate a temporary public URL.
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
Find SkillsVLM_RUN_FIND_SKILLSAcciónList VLM Run skills or find one exact skill by ID, name, and optional version. In list mode, continue from next_offset while has_more is true.
VLM_RUN_FIND_SKILLSAcciónList VLM Run skills or find one exact skill by ID, name, and optional version. In list mode, continue from next_offset while has_more is true.
Parámetros de entrada
namestringExact skill name; mutually exclusive with skill_id.
limitintegerMaximum skills to return in list mode (1-1000).
offsetintegerZero-based list offset; used only when no selector is supplied.
groupedbooleanRequest grouped skill results in list mode.
versionstringOptional exact skill version used only with name.
order_bystringenumSort field in list mode.
created_atupdated_atnameskill_idstringExact skill ID; mutually exclusive with name.
descendingbooleanSort descending in list mode.
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 RunVLM_RUN_GET_RUNAcciónGet the current status and result of one structured-extraction prediction or agent execution; call repeatedly to poll asynchronous work.
VLM_RUN_GET_RUNAcciónGet the current status and result of one structured-extraction prediction or agent execution; call repeatedly to poll asynchronous work.
Parámetros de entrada
run_idstringObligatorioPrediction or agent execution ID returned by a run or list tool.
run_typestringObligatorioenumKind of run to retrieve.
predictionagent_execution
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 AgentsVLM_RUN_LIST_AGENTSAcciónReturn agents available to the connected account for selection before execution.
VLM_RUN_LIST_AGENTSAcciónReturn agents available to the connected account for selection before execution.
Parámetros de entrada
Sin parámetros.
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 ArtifactsVLM_RUN_LIST_ARTIFACTSAcciónList artifact metadata belonging to exactly one chat session or agent execution. Use offset and limit to traverse pages until has_more is false.
VLM_RUN_LIST_ARTIFACTSAcciónList artifact metadata belonging to exactly one chat session or agent execution. Use offset and limit to traverse pages until has_more is false.
Parámetros de entrada
limitintegerMaximum artifacts to return (1-1000).
offsetintegerZero-based artifact offset sent upstream as offset.
session_idstringParent chat session ID; provide exactly one of session_id or execution_id.
execution_idstringParent agent execution ID; provide exactly one of execution_id or session_id.
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 RunsVLM_RUN_LIST_RUNSAcciónList structured-extraction predictions or agent executions for the connected account. Use offset and limit to traverse pages until has_more is false.
VLM_RUN_LIST_RUNSAcciónList structured-extraction predictions or agent executions for the connected account. Use offset and limit to traverse pages until has_more is false.
Parámetros de entrada
limitintegerMaximum runs to return (1-1000).
offsetintegerZero-based number of runs to skip; sent upstream as skip.
run_typestringObligatorioenumKind of run to list.
predictionagent_execution
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
Upload FileVLM_RUN_UPLOAD_FILEAcciónUpload a local file to VLM Run for extraction, agent input, or skill creation. Retain the returned file ID for tools that consume uploaded files.
VLM_RUN_UPLOAD_FILEAcciónUpload a local file to VLM Run for extraction, agent input, or skill creation. Retain the returned file ID for tools that consume uploaded files.
Parámetros de entrada
fileobjectObligatorioLocal file to upload through Composio's file store.
purposestringenumProvider purpose assigned to the uploaded file.
assistantsbatchfine-tunevisiondatasetsgenerate_public_urlbooleanWhether to include a temporary public URL in the response.
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