Skip to content

Docs

Copy-paste docs for humans and AI agents

These docs are intentionally simple. Read the endpoint, copy the curl example, and expect machine-readable JSON back.

Quickstart

Base URL: https://api.autonomycore.com

Auth: send your key in the X-API-Key header.

Fastest path: get a free key, or use the no-login playground first and then move into direct API calls.

Agent note

Every section below keeps the same structure: endpoint, description, request, response, and parameters. That makes the page easy to parse for both people and agents.

JSON Clean

JSON Clean

Endpoint

POST /v1/json/clean

Description

Fix invalid or messy JSON-like text into valid structured output.

Example Request (curl)

curl -X POST https://api.autonomycore.com/v1/json/clean \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '
    {
      "raw": "{ name: \"john\", age: 30, city: melbourne }"
    }
  '

Example Response

{
  "cleaned": {
    "name": "john",
    "age": 30,
    "city": "melbourne"
  },
  "top_level_type": "object",
  "repair_applied": true,
  "warnings": [
    "Unquoted key fixed",
    "Bareword string value quoted"
  ]
}

Parameters

raw (string) required

JSON-like text to repair and return as valid structured JSON.

Data Extraction

Data Extraction

Endpoint

POST /v1/extract/fields

Description

Extract known fields from short messy text into structured JSON.

Example Request (curl)

curl -X POST https://api.autonomycore.com/v1/extract/fields \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '
    {
      "text": "Renewal due 2026-06-01, owner Priya Shah, ARR 24000, risk medium",
      "fields": [
        "renewal_date",
        "owner_name",
        "arr",
        "risk"
      ]
    }
  '

Example Response

{
  "extracted": {
    "renewal_date": "2026-06-01",
    "owner_name": "Priya Shah",
    "arr": 24000,
    "risk": "medium"
  },
  "missing_fields": [],
  "extraction_count": 4
}

Parameters

text (string) required

The source text that contains the values you want to extract.

fields (string[]) required

The exact field names you want returned in the response.

Transcript Formatter

Transcript Formatter

Endpoint

POST /v1/transcripts/format

Description

Normalize speaker-labeled transcript text into a stable turn-by-turn JSON structure.

Example Request (curl)

curl -X POST https://api.autonomycore.com/v1/transcripts/format \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '
    {
      "transcript": "Agent: Hi, this is Sam. Customer: Yes, speaking. Agent: Thanks for your time today."
    }
  '

Example Response

{
  "turns": [
    {
      "speaker": "agent",
      "text": "Hi, this is Sam.",
      "timestamp": null
    },
    {
      "speaker": "customer",
      "text": "Yes, speaking.",
      "timestamp": null
    },
    {
      "speaker": "agent",
      "text": "Thanks for your time today.",
      "timestamp": null
    }
  ],
  "normalized": true,
  "turn_count": 3
}

Parameters

transcript (string) required

Transcript text that already includes speaker cues you want normalized.