past-dev · Schema

Audience

Artificial IntelligenceMemoryPlatformDevelopers

Properties

Name Type Description
slug string
name string
kind string
memberCount integer The identities the audience reaches now.
memoryCount integer The memories scoped to this audience.
reachesNobody boolean True for a rule audience that matches no identity.
recomputedAt stringnull
createdAt string
identities arraynull The ids of a fixed audience, sorted. Null for the other kinds.
rule object The rule of a rule audience. Null for the other kinds.
View JSON Schema on GitHub

JSON Schema

past-dev-audience-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/past-dev/json-schema/past-dev-audience-schema.json",
  "title": "Audience",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/past-dev-audiences-api-openapi.yml#/components/schemas/Audience",
  "type": "object",
  "required": [
    "slug",
    "name",
    "kind",
    "memberCount",
    "memoryCount",
    "reachesNobody",
    "recomputedAt",
    "createdAt",
    "identities",
    "rule"
  ],
  "additionalProperties": false,
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "fixed",
        "rule",
        "default"
      ]
    },
    "memberCount": {
      "type": "integer",
      "description": "The identities the audience reaches now."
    },
    "memoryCount": {
      "type": "integer",
      "description": "The memories scoped to this audience."
    },
    "reachesNobody": {
      "type": "boolean",
      "description": "True for a rule audience that matches no identity."
    },
    "recomputedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "identities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "The ids of a fixed audience, sorted. Null for the other kinds."
    },
    "rule": {
      "oneOf": [
        {
          "$ref": "#/$defs/AudienceRule"
        },
        {
          "type": "null"
        }
      ],
      "description": "The rule of a rule audience. Null for the other kinds."
    }
  },
  "$defs": {
    "AudienceCondition": {
      "type": "object",
      "required": [
        "trait",
        "operator"
      ],
      "additionalProperties": false,
      "properties": {
        "trait": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "operator": {
          "type": "string",
          "enum": [
            "is",
            "is_not",
            "is_one_of",
            "is_not_one_of",
            "exists",
            "does_not_exist"
          ]
        },
        "values": {
          "type": "array",
          "maxItems": 50,
          "items": {
            "type": "string"
          },
          "description": "One value for is and is_not, 1 to 50 for is_one_of and is_not_one_of, none for exists and does_not_exist."
        }
      }
    },
    "AudienceRule": {
      "type": "object",
      "required": [
        "match",
        "conditions"
      ],
      "additionalProperties": false,
      "properties": {
        "match": {
          "type": "string",
          "enum": [
            "all",
            "any"
          ]
        },
        "conditions": {
          "type": "array",
          "minItems": 1,
          "maxItems": 20,
          "items": {
            "$ref": "#/$defs/AudienceCondition"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/past-dev-audience"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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