Vibe Co-Pilot Utils API
The utils API from Vibe Co-Pilot — 2 operation(s) for utils.
The utils API from Vibe Co-Pilot — 2 operation(s) for utils.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vibebrowser-app:vibebrowser-app-utils-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Vibebrowser App Utils API
version: 1.82.3
description: 'Operations tagged utils across 2 of this provider''s published API definitions: openapi.json, vibebrowser-app-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Utils
paths:
/utils/test_policies_and_guardrails:
post:
tags:
- Utils
summary: Test Policies And Guardrails
description: 'Apply policies and/or guardrails to inputs (for compliance UI testing).
Use inputs_list for batch testing: each input is processed as a separate call so
per-input block/allow and errors are returned.
Use inputs for a single call (legacy).'
operationId: test_policies_and_guardrails_utils_test_policies_and_guardrails_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TestPoliciesAndGuardrailsRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
/utils/dotprompt_json_converter:
post:
tags:
- Utils
summary: Convert Prompt File To Json
description: 'Convert a .prompt file to JSON format.
This endpoint accepts a .prompt file upload and returns the equivalent JSON representation
that can be stored in a database or used programmatically.
Returns the JSON structure with ''content'' and ''metadata'' fields.'
operationId: convert_prompt_file_to_json_utils_dotprompt_json_converter_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_convert_prompt_file_to_json_utils_dotprompt_json_converter_post'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Convert Prompt File To Json Utils Dotprompt Json Converter Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
- APIKeyHeader: []
components:
schemas:
GenericGuardrailAPIInputs:
properties:
texts:
items:
type: string
type: array
title: Texts
images:
items:
type: string
type: array
title: Images
tools:
items:
$ref: '#/components/schemas/ChatCompletionToolParam'
type: array
title: Tools
tool_calls:
anyOf:
- items:
$ref: '#/components/schemas/ChatCompletionToolCallChunk'
type: array
- items:
$ref: '#/components/schemas/ChatCompletionMessageToolCall'
type: array
title: Tool Calls
structured_messages:
items:
anyOf:
- $ref: '#/components/schemas/ChatCompletionUserMessage'
- $ref: '#/components/schemas/ChatCompletionAssistantMessage'
- $ref: '#/components/schemas/ChatCompletionToolMessage'
- $ref: '#/components/schemas/ChatCompletionSystemMessage'
- $ref: '#/components/schemas/ChatCompletionFunctionMessage'
- $ref: '#/components/schemas/ChatCompletionDeveloperMessage'
type: array
title: Structured Messages
model:
anyOf:
- type: string
- type: 'null'
title: Model
type: object
title: GenericGuardrailAPIInputs
ChatCompletionFileObjectFile:
properties:
file_data:
title: File Data
type: string
file_id:
title: File Id
type: string
filename:
title: Filename
type: string
format:
title: Format
type: string
detail:
title: Detail
type: string
video_metadata:
additionalProperties: true
title: Video Metadata
type: object
title: ChatCompletionFileObjectFile
type: object
ChatCompletionVideoUrlObject:
properties:
url:
title: Url
type: string
detail:
title: Detail
type: string
required:
- url
title: ChatCompletionVideoUrlObject
type: object
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ChatCompletionToolMessage:
properties:
role:
const: tool
title: Role
type: string
content:
anyOf:
- type: string
- items:
$ref: '#/components/schemas/ChatCompletionTextObject'
type: array
title: Content
tool_call_id:
title: Tool Call Id
type: string
required:
- role
- content
- tool_call_id
title: ChatCompletionToolMessage
type: object
ChatCompletionToolParam:
properties:
type:
anyOf:
- type: string
const: function
- type: string
title: Type
function:
$ref: '#/components/schemas/ChatCompletionToolParamFunctionChunk'
cache_control:
$ref: '#/components/schemas/ChatCompletionCachedContent'
type: object
required:
- type
- function
title: ChatCompletionToolParam
ChatCompletionTextObject:
properties:
type:
const: text
title: Type
type: string
text:
title: Text
type: string
cache_control:
$ref: '#/components/schemas/ChatCompletionCachedContent'
required:
- type
- text
title: ChatCompletionTextObject
type: object
InputAudio:
properties:
data:
title: Data
type: string
format:
enum:
- wav
- mp3
title: Format
type: string
required:
- data
- format
title: InputAudio
type: object
ChatCompletionImageObject:
properties:
type:
const: image_url
title: Type
type: string
image_url:
anyOf:
- type: string
- $ref: '#/components/schemas/ChatCompletionImageUrlObject'
title: Image Url
required:
- type
- image_url
title: ChatCompletionImageObject
type: object
ChatCompletionToolParamFunctionChunk:
properties:
name:
type: string
title: Name
description:
type: string
title: Description
parameters:
additionalProperties: true
type: object
title: Parameters
strict:
type: boolean
title: Strict
type: object
required:
- name
title: ChatCompletionToolParamFunctionChunk
TestPoliciesAndGuardrailsRequest:
properties:
policy_names:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Policy Names
description: Policy names to resolve guardrails from
guardrail_names:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Guardrail Names
description: Guardrail names to apply directly
inputs_list:
items:
$ref: '#/components/schemas/GenericGuardrailAPIInputs'
type: array
title: Inputs List
description: List of GenericGuardrailAPIInputs; each item processed separately (for batch compliance testing).
default: []
request_data:
additionalProperties: true
type: object
title: Request Data
description: Request context (model, user_id, etc.)
input_type:
type: string
enum:
- request
- response
title: Input Type
description: Whether inputs are request or response
default: request
agent_id:
anyOf:
- type: string
- type: 'null'
title: Agent Id
description: When set, call chat completion with this model/agent for each input and include the response in the result.
type: object
title: TestPoliciesAndGuardrailsRequest
description: Request body for POST /utils/test_policies_and_guardrails.
DocumentObject:
properties:
type:
const: text
title: Type
type: string
media_type:
title: Media Type
type: string
data:
title: Data
type: string
required:
- type
- media_type
- data
title: DocumentObject
type: object
CitationsObject:
properties:
enabled:
title: Enabled
type: boolean
required:
- enabled
title: CitationsObject
type: object
ChatCompletionSystemMessage:
properties:
role:
const: system
title: Role
type: string
content:
anyOf:
- type: string
- items: {}
type: array
title: Content
name:
title: Name
type: string
cache_control:
$ref: '#/components/schemas/ChatCompletionCachedContent'
required:
- role
- content
title: ChatCompletionSystemMessage
type: object
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
ChatCompletionAssistantMessage:
properties:
role:
const: assistant
title: Role
type: string
content:
anyOf:
- type: string
- items:
anyOf:
- $ref: '#/components/schemas/ChatCompletionTextObject'
- $ref: '#/components/schemas/ChatCompletionThinkingBlock'
- $ref: '#/components/schemas/ChatCompletionRedactedThinkingBlock'
- $ref: '#/components/schemas/ChatCompletionImageObject'
type: array
- type: 'null'
title: Content
name:
anyOf:
- type: string
- type: 'null'
title: Name
tool_calls:
anyOf:
- items:
$ref: '#/components/schemas/ChatCompletionAssistantToolCall'
type: array
- type: 'null'
title: Tool Calls
function_call:
anyOf:
- $ref: '#/components/schemas/ChatCompletionToolCallFunctionChunk'
- type: 'null'
reasoning_content:
anyOf:
- type: string
- type: 'null'
title: Reasoning Content
cache_control:
$ref: '#/components/schemas/ChatCompletionCachedContent'
thinking_blocks:
anyOf:
- items:
anyOf:
- $ref: '#/components/schemas/ChatCompletionThinkingBlock'
- $ref: '#/components/schemas/ChatCompletionRedactedThinkingBlock'
type: array
- type: 'null'
title: Thinking Blocks
required:
- role
title: ChatCompletionAssistantMessage
type: object
ChatCompletionDeveloperMessage:
properties:
role:
const: developer
title: Role
type: string
content:
anyOf:
- type: string
- items: {}
type: array
title: Content
name:
title: Name
type: string
cache_control:
$ref: '#/components/schemas/ChatCompletionCachedContent'
required:
- role
- content
title: ChatCompletionDeveloperMessage
type: object
ChatCompletionImageUrlObject:
properties:
url:
title: Url
type: string
detail:
title: Detail
type: string
format:
title: Format
type: string
required:
- url
title: ChatCompletionImageUrlObject
type: object
ChatCompletionToolCallFunctionChunk:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
arguments:
title: Arguments
type: string
provider_specific_fields:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Provider Specific Fields
title: ChatCompletionToolCallFunctionChunk
type: object
ChatCompletionVideoObject:
properties:
type:
const: video_url
title: Type
type: string
video_url:
anyOf:
- type: string
- $ref: '#/components/schemas/ChatCompletionVideoUrlObject'
title: Video Url
required:
- type
- video_url
title: ChatCompletionVideoObject
type: object
ChatCompletionDocumentObject:
properties:
type:
const: document
title: Type
type: string
source:
$ref: '#/components/schemas/DocumentObject'
title:
title: Title
type: string
context:
title: Context
type: string
citations:
anyOf:
- $ref: '#/components/schemas/CitationsObject'
- type: 'null'
required:
- type
- source
- title
- context
- citations
title: ChatCompletionDocumentObject
type: object
ChatCompletionFileObject:
properties:
type:
const: file
title: Type
type: string
file:
$ref: '#/components/schemas/ChatCompletionFileObjectFile'
required:
- type
- file
title: ChatCompletionFileObject
type: object
ChatCompletionUserMessage:
properties:
role:
const: user
title: Role
type: string
content:
anyOf:
- type: string
- items:
anyOf:
- $ref: '#/components/schemas/ChatCompletionTextObject'
- $ref: '#/components/schemas/ChatCompletionImageObject'
- $ref: '#/components/schemas/ChatCompletionAudioObject'
- $ref: '#/components/schemas/ChatCompletionDocumentObject'
- $ref: '#/components/schemas/ChatCompletionVideoObject'
- $ref: '#/components/schemas/ChatCompletionFileObject'
type: array
title: Content
cache_control:
$ref: '#/components/schemas/ChatCompletionCachedContent'
required:
- role
- content
title: ChatCompletionUserMessage
type: object
ChatCompletionMessageToolCall:
properties: {}
additionalProperties: true
type: object
title: ChatCompletionMessageToolCall
ChatCompletionRedactedThinkingBlock:
properties:
type:
const: redacted_thinking
title: Type
type: string
data:
title: Data
type: string
cache_control:
anyOf:
- additionalProperties: true
type: object
- $ref: '#/components/schemas/ChatCompletionCachedContent'
- type: 'null'
title: Cache Control
required:
- type
title: ChatCompletionRedactedThinkingBlock
type: object
ChatCompletionFunctionMessage:
properties:
role:
const: function
title: Role
type: string
content:
anyOf:
- type: string
- items:
$ref: '#/components/schemas/ChatCompletionTextObject'
type: array
- type: 'null'
title: Content
name:
title: Name
type: string
tool_call_id:
anyOf:
- type: string
- type: 'null'
title: Tool Call Id
required:
- role
- content
- name
- tool_call_id
title: ChatCompletionFunctionMessage
type: object
ChatCompletionAssistantToolCall:
properties:
id:
anyOf:
- type: string
- type: 'null'
title: Id
type:
const: function
title: Type
type: string
function:
$ref: '#/components/schemas/ChatCompletionToolCallFunctionChunk'
required:
- id
- type
- function
title: ChatCompletionAssistantToolCall
type: object
ChatCompletionToolCallChunk:
properties:
id:
anyOf:
- type: string
- type: 'null'
title: Id
type:
type: string
const: function
title: Type
function:
$ref: '#/components/schemas/ChatCompletionToolCallFunctionChunk'
index:
type: integer
title: Index
type: object
required:
- id
- type
- function
- index
title: ChatCompletionToolCallChunk
ChatCompletionThinkingBlock:
properties:
type:
const: thinking
title: Type
type: string
thinking:
title: Thinking
type: string
signature:
title: Signature
type: string
cache_control:
anyOf:
- additionalProperties: true
type: object
- $ref: '#/components/schemas/ChatCompletionCachedContent'
- type: 'null'
title: Cache Control
required:
- type
title: ChatCompletionThinkingBlock
type: object
ChatCompletionAudioObject:
properties:
input_audio:
$ref: '#/components/schemas/InputAudio'
type:
const: input_audio
title: Type
type: string
required:
- input_audio
- type
title: ChatCompletionAudioObject
type: object
ChatCompletionCachedContent:
properties:
type:
const: ephemeral
title: Type
type: string
required:
- type
title: ChatCompletionCachedContent
type: object
Body_convert_prompt_file_to_json_utils_dotprompt_json_converter_post:
properties:
file:
type: string
format: binary
title: File
type: object
required:
- file
title: Body_convert_prompt_file_to_json_utils_dotprompt_json_converter_post
securitySchemes:
APIKeyHeader:
type: apiKey
description: Bearer token
in: header
name: x-litellm-api-key
x-refined-from:
- openapi.json
- vibebrowser-app-openapi.yml