openapi: 3.0.0
info:
title: Parcha Admin Agent Schemas API
version: 1.0.0
description: API for managing Parcha jobs and checks
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)
security:
- bearerAuth: []
tags:
- name: Agent Schemas
paths:
/agent-schemas/{agent_key}:
get:
security:
- bearerAuth: []
summary: Get agent schemas
description: Get the schema information for all checks in an agent
parameters:
- name: agent_key
in: path
required: true
schema:
type: string
description: The agent key
responses:
'200':
description: Agent schemas retrieved successfully
'404':
description: Agent not found
'500':
description: Failed to retrieve schemas
tags:
- Agent Schemas
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.