orgasm.dev
Account

Get usage

GET
/v1/usage

Your company's live-session and recording minutes per day for the key's mode, and the orgasms, ruins, edges and session minimums counted, with the credits they drew (always 0 in test mode). Defaults to the last 30 days. A billing key reads live usage.

Authorization

headerAuthorizationBearer <sk_test_… or sk_live_…>

A secret key, sent as Authorization: Bearer sk_test_…. Keep it on your server. Test keys reach the sandbox; live keys reach live analysis. In the sandbox any key that starts with sk_test_ works.

Query Parameters

from?string

First day, inclusive (UTC).

Formatdate
to?string

Last day, inclusive (UTC).

Formatdate

Response Body

Usage per day, and totals.

application/json
  1. response

Usage per day over a range of days.

object*string
mode*string
Value in"test""live"
from*string
Formatdate
to*string
Formatdate
days*array<>
totals*
Example Request
curl -X GET 'https://orgasm.dev/v1/usage'
Example Response

Returned by getUsage.

{  "object": "usage",  "mode": "test",  "from": "2026-10-14",  "to": "2026-10-16",  "days": [    {      "date": "2026-10-14",      "liveSessions": 3,      "liveSeconds": 1980,      "recordings": 1,      "recordingSeconds": 780,      "orgasms": 2,      "ruins": 0,      "edges": 3,      "sessionMinimums": 0,      "credits": 0    },    {      "date": "2026-10-15",      "liveSessions": 0,      "liveSeconds": 0,      "recordings": 0,      "recordingSeconds": 0,      "orgasms": 0,      "ruins": 0,      "edges": 0,      "sessionMinimums": 0,      "credits": 0    },    {      "date": "2026-10-16",      "liveSessions": 5,      "liveSeconds": 3420,      "recordings": 2,      "recordingSeconds": 1440,      "orgasms": 3,      "ruins": 1,      "edges": 2,      "sessionMinimums": 1,      "credits": 0    }  ],  "totals": {    "liveSessions": 8,    "liveSeconds": 5400,    "recordings": 3,    "recordingSeconds": 2220,    "orgasms": 5,    "ruins": 1,    "edges": 5,    "sessionMinimums": 1,    "credits": 0  }}