Skip to content
Back to skills

1470 Api Discovery Urls 1221ea5b

ASecurity

For voice-mode, we exclusively use OpenAI-compatible API endpoints to ensure consistency and compatibility across different TTS/STT providers.

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

Works with

  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1470-api-discovery-urls_1221ea5b --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1470 Api Discovery Urls 1221ea5b?

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

Security grade badge for 1470 Api Discovery Urls 1221ea5b
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1470-api-discovery-urls-1221ea5b/badge)](https://www.skillsdirectory.com/skills/tools-only-1470-api-discovery-urls-1221ea5b)

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

SKILL.md
# OpenAI-Compatible API Endpoints

For voice-mode, we exclusively use OpenAI-compatible API endpoints to ensure consistency and compatibility across different TTS/STT providers.

## Documentation Endpoints

### OpenAPI/Swagger
- `/docs` - Interactive Swagger UI (FastAPI default)
- `/redoc` - Alternative ReDoc UI documentation
- `/openapi.json` - Raw OpenAPI 3.0 specification
- `/swagger.json` - Legacy Swagger 2.0 specification
- `/api-docs` - Common alternative path
- `/api/docs` - Another common variant

### GraphQL
- `/graphql` - GraphQL playground
- `/graphiql` - GraphQL IDE
- `/__graphql` - Apollo Server default

## Discovery & Health Endpoints

### Service Information
- `/` - Root endpoint, often lists available resources
- `/health` - Basic health check
- `/healthz` - Kubernetes-style health check
- `/ready` or `/readyz` - Readiness check
- `/status` - Detailed service status
- `/ping` - Simple connectivity check
- `/version` - API version information
- `/info` - General service information

### API Resources
- `/api` - API root, lists versions
- `/v1` - Version-specific root
- `/api/v1` - Combined API version root

## OpenAI-Compatible Endpoints (Used by voice-mode)

These are the standard OpenAI API endpoints we use:

### Core Endpoints
- `/v1/models` - List available models
- `/v1/models/{model}` - Get specific model details

### Audio Endpoints
- `/v1/audio/speech` - Text-to-speech generation
- `/v1/audio/transcriptions` - Speech-to-text transcription

### Health/Status
- `/health` - Basic health check (provider-specific)

**Note**: We intentionally avoid provider-specific endpoints like `/v1/audio/voices` to maintain compatibility across different providers.

## Examples

### Kokoro TTS
```bash
# Documentation
curl http://127.0.0.1:8880/docs
curl http://127.0.0.1:8880/openapi.json

# API endpoints
curl http://127.0.0.1:8880/v1/models
curl http://127.0.0.1:8880/v1/audio/voices
curl http://127.0.0.1:8880/health
```

### OpenAI API
```bash
# Models
curl https://api.openai.com/v1/models \
  -H "Authorization: Bearer $OPENAI_API_KEY"
```

## Tips

1. **Always check `/docs` first** - Most modern APIs provide interactive documentation
2. **Look for OpenAPI spec** - `/openapi.json` provides machine-readable API definition
3. **Try without authentication first** - Many discovery endpoints don't require auth
4. **Check response headers** - Often contain API version and rate limit info
5. **Use browser for UI endpoints** - `/docs`, `/redoc`, `/graphql` are meant for browsers

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…