Skip to main content

API Documentation

This directory contains API documentation and specifications for Skyflow platform services.

Overview

All Skyflow APIs follow REST principles and use JSON for request and response bodies.

API Reference

ServiceDescriptionSpec
Core APIPrimary platform operationsComing soon
User APIUser management and authenticationComing soon
Vault APISecure data operationsComing soon

Authentication

All API requests require authentication using Bearer tokens:
curl -H "Authorization: Bearer <token>" https://api.skyflow.io/v1/resource

Common Patterns

Request Format

{
  "data": {
    "attribute": "value"
  }
}

Response Format

{
  "data": {
    "id": "resource_123",
    "type": "resource",
    "attributes": {}
  },
  "meta": {
    "request_id": "req_abc123"
  }
}

Error Format

{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Human readable message",
    "details": []
  },
  "meta": {
    "request_id": "req_abc123"
  }
}

Rate Limiting

APIs implement rate limiting. Check response headers:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200

Versioning

APIs are versioned using URL path versioning:
https://api.skyflow.io/v1/resources
https://api.skyflow.io/v2/resources

SDKs

Official SDKs are available for:

Contributing

API documentation is generated from OpenAPI specifications. To update:
  1. Edit the relevant OpenAPI spec file
  2. Run the documentation generator
  3. Submit a pull request

Contact

For API questions, contact the API team or open an issue.