Creed time-spent API

The time-spent API from Creed — 1 operation(s) for time-spent.

Operations 2

POST /api/time-spent Submit Time #
GET /api/time-spent Get Total Time Spent #

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/creed-time-spent-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

creed-time-spent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Creed achievements Time Spent API
  description: Creed API - Christian AI Chatbot
  version: 1.0.0
servers:
- url: https://api.usecreed.com
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: time-spent
paths:
  /api/time-spent:
    post:
      tags:
      - time-spent
      summary: Submit Time
      description: Submit time spent to track time in the app.
      operationId: submit_time_api_time_spent_post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitTimeSpentRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitTimeSpentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - time-spent
      summary: Get Total Time Spent
      description: 'Get total time spent by the user across all sessions.

        Returns time in minutes.'
      operationId: get_total_time_spent_api_time_spent_get
      security:
      - HTTPBearer: []
      parameters:
      - name: x-user-id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TotalTimeSpentResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SubmitTimeSpentResponse:
      properties:
        success:
          type: boolean
          title: Success
        message:
          type: string
          title: Message
      type: object
      required:
      - success
      - message
      title: SubmitTimeSpentResponse
      description: Response model for submitting time spent.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    TotalTimeSpentResponse:
      properties:
        total_minutes:
          type: integer
          title: Total Minutes
          description: Total time spent in minutes
        total_sessions:
          type: integer
          title: Total Sessions
          description: Total number of sessions
      type: object
      required:
      - total_minutes
      - total_sessions
      title: TotalTimeSpentResponse
      description: Response model for total time spent.
    SubmitTimeSpentRequest:
      properties:
        records:
          items:
            $ref: '#/components/schemas/TimeSpentRecord'
          type: array
          title: Records
          description: Array of time spent records
      type: object
      required:
      - records
      title: SubmitTimeSpentRequest
      description: Request model for submitting time spent records.
    TimeSpentRecord:
      properties:
        id:
          type: string
          title: Id
          description: Record ID (UUID from frontend)
        started_at:
          type: string
          format: date-time
          title: Started At
          description: Session start timestamp
        ended_at:
          type: string
          format: date-time
          title: Ended At
          description: Session end timestamp
      type: object
      required:
      - id
      - started_at
      - ended_at
      title: TimeSpentRecord
      description: Single time spent record.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase JWT token