SR3H LTD People API

The People API from SR3H LTD — 4 operation(s) for people.

GitHub OpenAPI

Operations 5

GET /api/people Find published profiles by name or organisation #
GET /api/people/{slug} Read a person's approved public profile #
GET /api/people/{slug}/card Read data for a host-generated profile card #
GET /api/people/{slug}/ask Read a bounded public answer through a URL #
POST /api/people/{slug}/ask Ask a bounded question without putting it in a URL #

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/mylegend-id:mylegend-id-people-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

mylegend-id-people-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MyLegend public agent People API
  version: 1.0.0
  description: Resolve a published person, read their card and ask about owner-approved public information. Publication is not independent verification. No private records or delegated actions. Search and answers are not cached. Only public questions belong in GET URLs.
servers:
- url: https://mylegend.id
security: []
tags:
- name: People
paths:
  /api/people:
    get:
      operationId: findPublicPerson
      summary: Find published profiles by name or organisation
      description: At most ten matches. Compare returned organisation and location before choosing; never silently select an ambiguous namesake. Search fields are name, headline, job title and organisation, not location.
      parameters:
      - name: query
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 120
        example: Morgan Example
      responses:
        '200':
          description: An object with query and people. Each match has slug, approved identity context, profileUrl, cardUrl, dataUrl, cardDataUrl, askUrl, publishedAt and verification.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing, duplicate or invalid input.
        '404':
          description: No published profile found.
        '429':
          description: Public access limit; respect the Retry-After header.
        '503':
          description: Public service temporarily unavailable.
      tags:
      - People
  /api/people/{slug}:
    get:
      operationId: getPublicProfile
      summary: Read a person's approved public profile
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          maxLength: 80
        example: morganexample
      responses:
        '200':
          description: Approved profile, provenance, revision and discovery links.
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing, duplicate or invalid input.
        '404':
          description: No published profile found.
        '429':
          description: Public access limit; respect the Retry-After header.
        '503':
          description: Public service temporarily unavailable.
      tags:
      - People
  /api/people/{slug}/card:
    get:
      operationId: getPublicCard
      summary: Read data for a host-generated profile card
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          maxLength: 80
        example: morganexample
      responses:
        '200':
          description: 'Versioned card data: portrait, optional explicitly public gallery with captions and a section title/description, labelled links, roles, expertise, presentation, suggested questions, actions and provenance. Only show a live Ask control if the host can execute its advertised action.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing, duplicate or invalid input.
        '404':
          description: No published profile found.
        '429':
          description: Public access limit; respect the Retry-After header.
        '503':
          description: Public service temporarily unavailable.
      tags:
      - People
  /api/people/{slug}/ask:
    get:
      operationId: browsePublicAnswer
      summary: Read a bounded public answer through a URL
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          maxLength: 80
        example: morganexample
      - name: question
        in: query
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 500
        example: What do you do?
      - name: previousQuestion
        in: query
        schema:
          type: string
          maxLength: 500
      responses:
        '200':
          description: 'The same answer contract as POST: name, answer, answered, profileUrl, revision, publishedAt, usedFactIds and note; relevant photo questions may also return media containing gallery, galleryTitle and galleryDescription. Never request or show question-only photos proactively. answered=false means there is no approved answer or disclosure is refused.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing, duplicate or invalid input.
        '404':
          description: No published profile found.
        '429':
          description: Public access limit; respect the Retry-After header.
        '503':
          description: Public service temporarily unavailable.
      tags:
      - People
    post:
      operationId: askPublicPerson
      summary: Ask a bounded question without putting it in a URL
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          maxLength: 80
        example: morganexample
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - question
              properties:
                question:
                  type: string
                  minLength: 3
                  maxLength: 500
                previousQuestion:
                  type: string
                  maxLength: 500
                history:
                  type: array
                  maxItems: 6
                  description: Recent messages about this profile, at most 12000 characters in total. Context only; never evidence or permission.
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - role
                    - content
                    properties:
                      role:
                        type: string
                        enum:
                        - user
                        - assistant
                      content:
                        type: string
                        minLength: 1
                        maxLength: 4000
            example:
              question: What do you do?
      responses:
        '200':
          description: 'A conversational answer grounded in current owner-approved information, using the same disclosure rules as MCP ask_person: up to 1200 characters ordinarily, or 4000 for requested technical detail. usedFactIds identifies the supporting approved excerpts. Optional media contains approved photos relevant to this question.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing, duplicate or invalid input.
        '404':
          description: No published profile found.
        '429':
          description: Public access limit; respect the Retry-After header.
        '503':
          description: Public service temporarily unavailable.
      tags:
      - People
externalDocs:
  url: https://mylegend.id/connect
  description: Browser cards, HTTP and MCP connection options