Stract API My User API

The My User API from Stract API — 1 operation(s) for my user.

Operations 2

GET /my_user Get the current user #
PUT /my_user Edit the current user #

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/stract-api:stract-api-my-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

stract-api-my-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stract My User API
  description: 'Get structured output from unstructured inputs


    ## Machine authentication


    Programmatic access to the API is authenticated with an API key. Include the API key in every request as a bearer token in the `authorization` header:


    ```

    authorization: bearer [apiKey]

    ```'
  version: 0.9.0
  contact:
    name: Matt
    email: matt@stract-api.com
servers:
- url: https://api.stract-api.com
  description: Production
security:
- bearerAuth: []
tags:
- name: My User
paths:
  /my_user:
    get:
      summary: Get the current user
      description: Retrieve the profile of the currently authenticated user
      responses:
        '200':
          description: Current user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - My User
      operationId: getMyUser
      x-operation-id-source: derived
    put:
      summary: Edit the current user
      description: Update one or more properties of the currently authenticated user. At least one property must be provided.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditMyUserRequest'
      responses:
        '200':
          description: Successfully updated user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Request body has no fields set || User fie
      tags:
      - My User
      operationId: putMyUser
      x-operation-id-source: derived
components:
  schemas:
    EditMyUserRequest:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    Error:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    User:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true