Forta Health Behavior API

The behavior API from Forta Health — 6 operation(s) for behavior.

Operations 8

GET /api/v1/behaviors/ Get All Behaviors #
POST /api/v1/behaviors/ Create Behavior #
POST /api/v1/behaviors/{behavior_id}/goal_names/ Create Goal Name #
GET /api/v1/behaviors/{behavior_id}/goal_names/ Fetch Goal Names #
GET /api/v1/behaviors/goal_names/all/ Fetch All Goal Names #
GET /api/v1/behaviors/{behavior_id}/goal_names/{goal_name_id}/ Fetch Goal Name #
PATCH /api/v1/behaviors/{behavior_id}/goal_names/{goal_name_id}/activate/ Activate Goal Name #
PATCH /api/v1/behaviors/{behavior_id}/goal_names/{goal_name_id}/deactivate/ Deactivate Goal Name #

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/forta-health-behavior-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

forta-health-behavior-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Forta Health Behavior API
  version: 0.1.0
  description: 'Operations tagged behavior across 2 of this provider''s published API definitions: forta-health-behavior-api-openapi.yml, forta-health-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prod.fortahealth.com/api/v1/
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: behavior
paths:
  /api/v1/behaviors/:
    get:
      tags:
      - behavior
      summary: Get All Behaviors
      operationId: get_all_behaviors_api_v1_behaviors__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/BehaviorResponse'
                type: array
                title: Response Get All Behaviors Api V1 Behaviors  Get
      security:
      - HTTPBearer: []
    post:
      tags:
      - behavior
      summary: Create Behavior
      description: Creates a new behavior
      operationId: create_behavior_api_v1_behaviors__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BehaviorCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BehaviorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
    servers:
    - url: https://api.prod.fortahealth.com/api/v1/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v1/behaviors/{behavior_id}/goal_names/:
    post:
      tags:
      - behavior
      summary: Create Goal Name
      description: Creates a goal name with a corresponding behavior
      operationId: create_goal_name_api_v1_behaviors__behavior_id__goal_names__post
      security:
      - HTTPBearer: []
      parameters:
      - name: behavior_id
        in: path
        required: true
        schema:
          type: integer
          title: Behavior Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoalNameCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalNameResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - behavior
      summary: Fetch Goal Names
      description: Reads goal names associated with a behavior
      operationId: fetch_goal_names_api_v1_behaviors__behavior_id__goal_names__get
      security:
      - HTTPBearer: []
      parameters:
      - name: behavior_id
        in: path
        required: true
        schema:
          type: integer
          title: Behavior Id
      - name: include_inactive
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Include Inactive
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GoalNameResponse'
                title: Response Fetch Goal Names Api V1 Behaviors  Behavior Id  Goal Names  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://api.prod.fortahealth.com/api/v1/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v1/behaviors/goal_names/all/:
    get:
      tags:
      - behavior
      summary: Fetch All Goal Names
      operationId: fetch_all_goal_names_api_v1_behaviors_goal_names_all__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/GoalNameResponse'
                type: array
                title: Response Fetch All Goal Names Api V1 Behaviors Goal Names All  Get
      security:
      - HTTPBearer: []
    servers:
    - url: https://api.prod.fortahealth.com/api/v1/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v1/behaviors/{behavior_id}/goal_names/{goal_name_id}/:
    get:
      tags:
      - behavior
      summary: Fetch Goal Name
      operationId: fetch_goal_name_api_v1_behaviors__behavior_id__goal_names__goal_name_id___get
      security:
      - HTTPBearer: []
      parameters:
      - name: behavior_id
        in: path
        required: true
        schema:
          type: integer
          title: Behavior Id
      - name: goal_name_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Name Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalNameResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://api.prod.fortahealth.com/api/v1/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v1/behaviors/{behavior_id}/goal_names/{goal_name_id}/activate/:
    patch:
      tags:
      - behavior
      summary: Activate Goal Name
      operationId: activate_goal_name_api_v1_behaviors__behavior_id__goal_names__goal_name_id__activate__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: behavior_id
        in: path
        required: true
        schema:
          type: integer
          title: Behavior Id
      - name: goal_name_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Name Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalNameResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://api.prod.fortahealth.com/api/v1/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /api/v1/behaviors/{behavior_id}/goal_names/{goal_name_id}/deactivate/:
    patch:
      tags:
      - behavior
      summary: Deactivate Goal Name
      operationId: deactivate_goal_name_api_v1_behaviors__behavior_id__goal_names__goal_name_id__deactivate__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: behavior_id
        in: path
        required: true
        schema:
          type: integer
          title: Behavior Id
      - name: goal_name_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Name Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalNameResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://api.prod.fortahealth.com/api/v1/
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    GoalNameResponse:
      properties:
        label:
          type: string
          minLength: 2
          title: Label
        prefix:
          anyOf:
          - type: string
          - type: 'null'
          title: Prefix
        id:
          type: integer
          title: Id
        behavior_id:
          type: integer
          title: Behavior Id
        behavior:
          $ref: '#/components/schemas/BehaviorResponse'
        is_active:
          type: boolean
          title: Is Active
      type: object
      required:
      - label
      - id
      - behavior_id
      - behavior
      - is_active
      title: GoalNameResponse
    BehaviorResponse:
      properties:
        label:
          type: string
          minLength: 2
          title: Label
        id:
          type: integer
          title: Id
      type: object
      required:
      - label
      - id
      title: BehaviorResponse
    GoalNameCreate:
      properties:
        label:
          type: string
          minLength: 2
          title: Label
        prefix:
          type: string
          minLength: 2
          title: Prefix
      type: object
      required:
      - label
      - prefix
      title: GoalNameCreate
    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
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BehaviorCreate:
      properties:
        label:
          type: string
          minLength: 2
          title: Label
      type: object
      required:
      - label
      title: BehaviorCreate
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- forta-health-behavior-api-openapi.yml
- forta-health-platform-openapi.yml