OpenProof Log Retention API

The log-retention API from OpenProof — 3 operation(s) for log-retention.

GitHub OpenAPI

Operations 5

GET /log-retention List Sources #
POST /log-retention Add Source #
PATCH /log-retention/{record_id} Update Source #
DELETE /log-retention/{record_id} Delete Source #
POST /log-retention/{record_id}/confirm Confirm Source #

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/openproof-io:openproof-io-log-retention-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

openproof-io-log-retention-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Openproof Io Log Retention API
  version: 1.0.0
  description: 'Operations tagged log-retention across 2 of this provider''s published API definitions: openapi.json, openproof-io-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: log-retention
paths:
  /log-retention:
    get:
      tags:
      - log-retention
      summary: List Sources
      description: Seeds the standard sources (all unanswered) the first time it is opened.
      operationId: list_sources_log_retention_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    post:
      tags:
      - log-retention
      summary: Add Source
      operationId: add_source_log_retention_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /log-retention/{record_id}:
    patch:
      tags:
      - log-retention
      summary: Update Source
      operationId: update_source_log_retention__record_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: string
          title: Record Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourcePatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - log-retention
      summary: Delete Source
      operationId: delete_source_log_retention__record_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: string
          title: Record Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /log-retention/{record_id}/confirm:
    post:
      tags:
      - log-retention
      summary: Confirm Source
      description: The business re-states that what is recorded is still true.
      operationId: confirm_source_log_retention__record_id__confirm_post
      security:
      - HTTPBearer: []
      parameters:
      - name: record_id
        in: path
        required: true
        schema:
          type: string
          title: Record Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SourceCreate:
      properties:
        label:
          type: string
          title: Label
        retention_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Retention Days
        location:
          anyOf:
          - type: string
          - type: 'null'
          title: Location
      type: object
      required:
      - label
      title: SourceCreate
    SourcePatch:
      properties:
        retention_days:
          anyOf:
          - type: integer
          - type: 'null'
          title: Retention Days
        location:
          anyOf:
          - type: string
          - type: 'null'
          title: Location
        label:
          anyOf:
          - type: string
          - type: 'null'
          title: Label
      type: object
      title: SourcePatch
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- openapi.json
- openproof-io-openapi.json
x-provenance:
  method: harvested
  publisher: OpenProof
  source: https://api.openproof.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)