Skip to content

Conventions

What holds across every SQL Cockpit portal API operation: base URL, response envelope, formats, methods, errors and rate limits.

Base URL

Guide

Every operation is JSON over HTTPS under https://portal.sql-cockpit.com/api/portal/v1.

    Answers

    Guide

    Every answer has ok. When true, the result is in data; when false, error carries a stable code, a message and, for validation, fields.

      Formats

      Guide

      Dates and times follow RFC 3339 with their offset. IDs are UUIDs.

        HTTP methods

        Guide

        GET reads, POST creates or runs an action, PATCH changes the fields it names, DELETE removes a team membership.

          Errors

          Guide

          2xx succeeded, 4xx was refused, 5xx failed on our side. Codes: unauthenticated, forbidden, not_found, method_not_allowed, payload_too_large, validation_failed, rate_limited, server_error, bad_request.

            Rate limits

            Guide

            Each credential may make 120 requests a minute; 20 failed authentications a minute pauses an address. Both answer 429 with Retry-After.