Tamloot Read API

The Read API API from Tamloot, for read api.

GitHub OpenAPI

Operations 9

GET /v1/contacts Search contacts #
GET /v1/contacts/{contact_id} Get a contact #
GET /v1/sessions Browse or search sessions #
GET /v1/sessions/{session_id} Get a session #
GET /v1/sessions/{session_id}/transcript Get a session transcript #
GET /v1/notes Search notes #
GET /v1/tasks List a session's tasks #
GET /v1/changes/head Get the change feed's current position #
GET /v1/changes List changes since a cursor #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tamloot-cc:tamloot-cc-read-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tamloot-cc-read-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tamloot Public Read API
  summary: Read conversation history, create or update contacts, and append contact notes.
  version: 1.0.0
servers:
- url: https://api.tamloot.cc
  description: Production
tags:
- name: Read API
paths:
  /v1/contacts:
    get:
      tags:
      - Read API
      summary: Search contacts
      operationId: searchContacts
      security:
      - TamlootApiKey: []
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 100
          title: Query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Searchcontacts
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/contacts/{contact_id}:
    get:
      tags:
      - Read API
      summary: Get a contact
      operationId: getContact
      security:
      - TamlootApiKey: []
      parameters:
      - name: contact_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Contact Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Getcontact
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/sessions:
    get:
      tags:
      - Read API
      summary: Browse or search sessions
      operationId: searchSessions
      security:
      - TamlootApiKey: []
      parameters:
      - name: query
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 2
            maxLength: 100
          - type: 'null'
          title: Query
      - name: contact_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Contact Id
      - name: from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: string
            format: date-time
          - type: 'null'
          title: From
      - name: to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date
          - type: string
            format: date-time
          - type: 'null'
          title: To
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 25
          minimum: 1
          default: 10
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Searchsessions
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/sessions/{session_id}:
    get:
      tags:
      - Read API
      summary: Get a session
      description: '`revision` increases after every change to a field returned here (except `updated_at`, which not every writer sets), its notes, its linked contacts or their names and emails; import the session again when it is larger than the one you hold. `participants` lists every linked contact with all its email addresses. A deleted session answers 410.'
      operationId: getSession
      security:
      - TamlootApiKey: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Getsession
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '410':
          description: The session was deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/sessions/{session_id}/transcript:
    get:
      tags:
      - Read API
      summary: Get a session transcript
      operationId: getSessionTranscript
      security:
      - TamlootApiKey: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Getsessiontranscript
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/notes:
    get:
      tags:
      - Read API
      summary: Search notes
      operationId: searchNotes
      security:
      - TamlootApiKey: []
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 100
          title: Query
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 25
          minimum: 1
          default: 15
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Searchnotes
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/tasks:
    get:
      tags:
      - Read API
      summary: List a session's tasks
      description: The open and done tasks taken from one session, oldest first (at most 500). `contact_emails` holds the email addresses of the contact the task is about, empty when it has none. Regenerating a session's notes replaces its tasks with new ones (new IDs); `/v1/changes` reports the deletions.
      operationId: listSessionTasks
      security:
      - TamlootApiKey: []
      parameters:
      - name: session_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Listsessiontasks
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '404':
          description: Session not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '410':
          description: The session was deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/changes/head:
    get:
      tags:
      - Read API
      summary: Get the change feed's current position
      description: A cursor for "from now on". Read it before a backfill, then poll `/v1/changes` from it, so nothing that changes during the backfill is missed.
      operationId: getChangesHead
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Getchangeshead
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - TamlootApiKey: []
  /v1/changes:
    get:
      tags:
      - Read API
      summary: List changes since a cursor
      description: 'Sessions and tasks that changed after `cursor`, in cursor order (by transaction, which need not match commit time). An entry says what changed, not how: fetch the session (or its tasks) for the current state. `op` is `upsert` or `delete` (a tombstone); it is a hint, so confirm it by fetching: an entry is returned only after every change ordered before it has committed, so the fetch shows the final state. `session_id` is the session itself, or a task''s session. `revision` identifies the change; once a session entry is delivered here, that session''s own `revision` is at least as large. An entity appears at most once per page for each `session_id` (a task moved between sessions appears once under each), but can appear again on a later page. Keep `next_cursor` and poll again; when `has_more` is true, fetch the next page right away. A change from a transaction still in progress is returned once it commits, never skipped. A cursor older than the 90-day tombstone retention answers 410: rescan with `/v1/sessions?from=` and restart from `/v1/changes/head`.'
      operationId: listChanges
      security:
      - TamlootApiKey: []
      parameters:
      - name: cursor
        in: query
        required: true
        schema:
          type: string
          minLength: 1
          maxLength: 64
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Listchanges
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '400':
          description: The cursor is not one this API issued.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '410':
          description: The cursor expired.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
        '429':
          description: Rate limit exceeded. The API allows 10 requests per second; wait the number of seconds in Retry-After and retry.
          headers:
            RateLimit-Limit:
              description: Requests allowed per one-second window.
              schema:
                type: integer
                example: 10
            RateLimit-Policy:
              description: The rate-limit policy, as `<limit>;w=<window seconds>`.
              schema:
                type: string
                example: 10;w=1
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                example: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: 'The HTTP status code as a string, e.g. "404", or a named code: "insufficient_scope" (403) when a read-only API key calls a write endpoint, or an approved app calls an endpoint its approval doesn''t cover; "invalid_token" (401) when an approved app''s access token isn''t valid; "access_revoked" (401) when an approved app''s access was revoked or given up; "app_not_allowed" (403) when the OAuth client is not an app approved for this API; "not_applicable" (403) when an API key calls DELETE /v1/access.'
            message:
              type: string
  securitySchemes:
    TamlootApiKey:
      type: http
      description: A Tamloot API key (`tml_live_…`), created in Settings → API. An app the account owner approved in Tamloot sends its OAuth access token instead; it can call only the endpoints its approval covers, and only to read.
      scheme: bearer
      bearerFormat: Tamloot API key or OAuth access token