Docs

Amdahl Consumer API Docs

This is the public-facing documentation for developers building on the Amdahl Platform API. It covers authentication, sessions, agents, webhooks, SDKs, and the full API reference. If you are integrating Amdahl into your own product or workflow, start here.

Quick links

Table of contents

Getting started

Using agents

Use cases

Guides

Connections

Reference

Webhooks

API reference

SDKs

Changelog

Conventions

All consumer endpoints live under a single base URL:

code
https://api.amdahl.com/api/platform/v1

Every request must include a bearer token in the Authorization header:

code
Authorization: Bearer <your-api-key>

Errors always follow a single envelope:

json
{
  "error": {
    "code": "invalid_request",
    "message": "Human readable description",
    "details": { "field": "optional structured context" }
  }
}

The details field is optional. When present it is a JSON object that carries machine-readable context (field names, rate limit windows, offending IDs). See Pagination and errors for the full error code catalogue.

How to contribute

This consumer docs tree is the canonical reference going forward. The legacy single-file reference at docs/platform-api.md is kept for historical context only and will be removed once every section here reaches parity.

Several files under api-reference/ are generated from source and must not be edited by hand. The list is recorded in docs/_generated-marker.txt. CI enforces this: a pull request that edits a generated file without regenerating the whole set will fail the docs:verify check.

To regenerate:

code
npm run docs:generate:all

If you are adding new narrative docs (quickstart, recipes, SDK notes) edit the hand-written files directly. If you are adding a new tool, scope, or webhook event, update the backend source of truth and re-run the generator.