Skip to main content
GET
/
v1
/
credit-usages
List credit usages
curl --request GET \
  --url https://api.example.com/v1/credit-usages \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "amount": 123,
      "createdAt": "<string>",
      "id": "<string>",
      "keyword": {
        "countryCode": "<string>",
        "keyword": "<string>",
        "languageCode": "<string>"
      },
      "remainingCredits": 123,
      "type": "analysis",
      "user": {
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      },
      "workspace": {
        "id": "<string>",
        "name": "<string>"
      }
    }
  ],
  "pagination": {
    "hasMore": true,
    "limit": 123,
    "page": 123,
    "total": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.semji.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_. Generate one in Settings > API Keys.

Query Parameters

limit
integer
default:25
Required range: 1 <= x <= 100
page
integer
default:1
Required range: x >= 1
q
string

Text search.

type
enum<string>
required

Filter by credit type. Required — one type per request.

Available options:
analysis,
ai_writing,
content_idea_search

Response

200 - application/json

Default Response

data
object[]
required
pagination
object
required