Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: python-code-validator Info API
description: 'Proves AI-generated Python does what you asked: syntax, lint, types, an AST security policy and a credential scan, then runs the code in a throwaway container against the examples you state and repairs it until they pass — returning a fix only when running it satisfies every one of them.'
version: 1.29.0
tags:
- name: Info
paths:
/v1/info:
get:
summary: Info
operationId: info_v1_info_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceInfo'
tags:
- Info
components:
schemas:
ServiceInfo:
properties:
name:
type: string
title: Name
version:
type: string
title: Version
description:
type: string
title: Description
api:
type: string
title: Api
default: v1
tags:
items:
type: string
type: array
title: Tags
modes:
items:
$ref: '#/components/schemas/Mode'
type: array
title: Modes
languages:
items:
$ref: '#/components/schemas/Language'
type: array
title: Languages
price_hint:
anyOf:
- type: string
- type: 'null'
title: Price Hint
input_schema:
additionalProperties: true
type: object
title: Input Schema
output_schema:
additionalProperties: true
type: object
title: Output Schema
type: object
required:
- name
- version
- description
title: ServiceInfo
description: Machine-readable description used by discovery and by the agent cards.
Mode:
type: string
enum:
- static
- repair
- execute
title: Mode
description: "How much work the service is allowed to do.\n\n``static``\n Never executes the submitted code. Parsing, linting and security\n scanning only. This is the default and the only mode that is safe to\n expose without a container sandbox.\n``repair``\n Static mode plus deterministic auto-fixes and refactors.\n``execute``\n Repair plus running the code inside a sandbox to prove it works."
Language:
type: string
enum:
- python
- javascript
- typescript
- html
- sql
- solidity
- other
title: Language
description: Source languages a validator can accept.