Parcha GetAgentCostEstimate API
The GetAgentCostEstimate API from Parcha — 2 operation(s) for getagentcostestimate.
The GetAgentCostEstimate API from Parcha — 2 operation(s) for getagentcostestimate.
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/parcha-getagentcostestimate-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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: Parcha Get Agent Cost Estimate API
version: '1.0'
description: 'Operations tagged GetAgentCostEstimate across 2 of this provider''s published API definitions: parcha-docs-openapi.yaml, parcha-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.parcha.ai/api/v1
description: Agent Hub API server
- url: https://demo.parcha.ai/api/v1
description: Sandbox API server
- url: https://us1.parcha.ai/api/v1
description: Legacy API server
- url: http://{your-company-domain}.parcha.ai/api/v1
description: Custom Enterpris server (your company's API server)
tags:
- name: GetAgentCostEstimate
paths:
/getAgentCostEstimate:
get:
security:
- bearerAuth: []
summary: Get agent cost estimate
description: Calculate the estimated cost in credits for running all checks in an agent
parameters:
- name: agent_key
in: query
required: true
schema:
type: string
description: The agent key to estimate costs for
responses:
'200':
description: Cost estimate retrieved successfully
content:
application/json:
schema:
type: object
properties:
agent_key:
type: string
total_estimated_cost:
type: number
check_costs:
type: object
agent_name:
type: string
agent_description:
type: string
'404':
description: Agent not found
'500':
description: Cost estimation failed
tags:
- GetAgentCostEstimate
operationId: getGetAgentCostEstimate
x-operation-id-source: derived
servers:
- url: https://api.parcha.ai/api/v1
description: Agent Hub API server
- url: https://demo.parcha.ai/api/v1
description: Sandbox API server
- url: https://us1.parcha.ai/api/v1
description: Legacy API server
- url: http://{your-company-domain}.parcha.ai/api/v1
description: Custom Enterpris server (your company's API server)
/api/v1/getAgentCostEstimate:
get:
summary: Get Agent Cost Estimate
description: 'Get cost estimate for running an agent
This endpoint calculates the estimated cost in credits for running all checks
in the specified agent configuration using the centralized billing service.
Args:
agent_key: The agent key to estimate costs for
Returns:
AgentCostEstimateResponse: Cost breakdown and total estimate'
operationId: get_agent_cost_estimate_api_v1_getAgentCostEstimate_get
security:
- HTTPBearer: []
parameters:
- name: agent_key
in: query
required: true
schema:
type: string
title: Agent Key
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentCostEstimateResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- GetAgentCostEstimate
components:
schemas:
AgentCostEstimateResponse:
properties:
agent_key:
type: string
title: Agent Key
description: The agent key for which the cost was estimated
total_estimated_cost:
type: integer
title: Total Estimated Cost
description: Total estimated cost in credits for running the agent
check_costs:
additionalProperties:
type: integer
type: object
title: Check Costs
description: Individual cost breakdown by check ID
data_loader_costs:
additionalProperties:
type: integer
type: object
title: Data Loader Costs
description: Individual cost breakdown by data loader ID
agent_name:
anyOf:
- type: string
- type: 'null'
title: Agent Name
description: Human-readable name of the agent
agent_description:
anyOf:
- type: string
- type: 'null'
title: Agent Description
description: Description of the agent
type: object
required:
- agent_key
- total_estimated_cost
- check_costs
title: AgentCostEstimateResponse
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
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- parcha-docs-openapi.yaml
- parcha-openapi-original.json