Skip to content
Back to skills

2515 Http Openai A7b79949

ASecurity

This spec defines the HTTP contract used by the canonical SDK and the OpenAI-compatible chat surface.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
devopsapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2515-http_openai_a7b79949 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2515 Http Openai A7b79949?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2515 Http Openai A7b79949
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2515-http-openai-a7b79949/badge)](https://www.skillsdirectory.com/skills/tools-only-2515-http-openai-a7b79949)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Synth HTTP + OpenAI Compatibility Specification

## 1. Purpose

This spec defines the HTTP contract used by the canonical SDK and the OpenAI-compatible chat surface.

Machine-readable contract: `openapi/synth-api-v1.yaml`.

## 2. Authentication

All authenticated endpoints accept bearer auth:

- `Authorization: Bearer <SYNTH_API_KEY>`

Some clients also send `x-api-key` for compatibility; servers should tolerate both when configured.

## 3. API Areas

### 3.1 Optimization (`/v1/*`)

Canonical resources:

- `/v1/policy-optimization/systems`
- `/v1/offline/jobs`
- `/v1/online/sessions`

These are the default targets for `SynthClient.optimization`.

### 3.2 Inference

OpenAI-compatible chat completions:

- `POST /api/inference/v1/chat/completions`

Contract behavior:

- Request shape mirrors OpenAI Chat Completions.
- Response shape mirrors OpenAI Chat Completions.
- Model IDs are normalized by Synth routing.

Inference jobs:

- `POST /api/inference/jobs`
- `GET /api/inference/jobs/{job_id}`
- `GET /inference/jobs/{job_id}/artifacts/{artifact_id}`

### 3.3 Graphs and verifiers

- `POST /api/graphs/completions`
- `GET /graph-evolve/graphs`

Verifier requests in the SDK are layered on top of graph completions with verifier-shaped inputs.

### 3.4 Containers

Hosted container resources:

- `/api/v1/containers`

### 3.5 Container pools

Pools and rollout control plane:

- `/v1/pools/*`
- `/v1/rollouts/*`

Includes uploads, data sources, assemblies, pools, rollouts, tasks, metrics, and SSE event streams.

### 3.6 SynthTunnel lease API

- `POST /api/v1/synthtunnel/leases`
- `DELETE /api/v1/synthtunnel/leases/{lease_id}`

## 4. Streaming

SSE/event stream endpoints return `text/event-stream` and are consumed as line-delimited `data:` payloads:

- `/v1/offline/jobs/{job_id}/events`
- `/v1/online/sessions/{session_id}/events`
- `/v1/pools/assemblies/{assembly_id}/events`
- `/v1/pools/{pool_id}/rollouts/{rollout_id}/events`

## 5. Compatibility Policy

- Canonical docs must refer to the endpoints in `openapi/synth-api-v1.yaml`.
- OpenAI-compatible schema support is maintained on Synth inference routes.
- Legacy path aliases are outside this spec unless explicitly promoted.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…