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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/mobilitydata:mobilitydata-users-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
openapi: 3.2.0
info:
version: 1.0.0
title: Mobility Database Catalog Operations Users API
description: 'API for the Mobility Database Catalog Operations. See https://mobilitydatabase.org/.
This API was designed for internal use and is not intended to be used by the general public.
The Mobility Database Operation API uses Auth2.0 authentication.'
termsOfService: https://mobilitydatabase.org/terms-and-conditions
contact:
name: MobilityData
url: https://mobilitydata.org/
email: api@mobilitydata.org
license:
name: MobilityData License
url: https://www.apache.org/licenses/LICENSE-2.0
security:
- ApiKeyAuth: []
tags:
- name: Users
description: User and feature flag management
paths:
/v1/operations/users:
get:
summary: Search users
description: 'Returns a paginated list of users. When `search_query` is provided, filters
case-insensitively across email, full_name, and legacy_org_name.'
operationId: getOperationsUsers
tags:
- Users
security:
- ApiKeyAuth: []
parameters:
- name: search_query
in: query
required: false
schema:
type: string
description: Case-insensitive substring match across email, full_name, and legacy_org_name.
- name: limit
in: query
required: false
schema:
type: integer
default: 100
minimum: 1
maximum: 1000
- name: offset
in: query
required: false
schema:
type: integer
default: 0
minimum: 0
responses:
'200':
description: Paginated list of matching users.
content:
application/json:
schema:
type: object
properties:
total:
type: integer
description: Total number of users matching the query, ignoring pagination.
offset:
type: integer
description: Number of items skipped for pagination.
limit:
type: integer
description: Maximum number of items returned.
users:
type: array
items:
$ref: '#/components/schemas/OperationUserProfile'
'401':
description: Unauthorized.
/v1/operations/users/{user_id}:
get:
summary: Get a user by ID
description: Returns the user profile including their currently assigned feature flags.
operationId: getOperationsUser
tags:
- Users
security:
- ApiKeyAuth: []
parameters:
- name: user_id
in: path
required: true
schema:
type: string
description: The user's ID.
responses:
'200':
description: User profile with feature flags.
content:
application/json:
schema:
$ref: '#/components/schemas/OperationUserProfile'
'401':
description: Unauthorized.
'404':
description: User not found.
/v1/operations/users/{user_id}/feature-flags:
put:
summary: Replace a user's feature flags
description: 'Replaces the user''s complete set of feature flags in a single call.
Flags in the list are assigned; any previously assigned flags not in the list are removed.
All provided flag IDs must exist.'
operationId: putUserFeatureFlags
tags:
- Users
security:
- ApiKeyAuth: []
parameters:
- name: user_id
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PutUserFeatureFlagsRequest'
responses:
'200':
description: Updated user profile with the new feature flag set.
content:
application/json:
schema:
$ref: '#/components/schemas/OperationUserProfile'
'401':
description: Unauthorized.
'404':
description: User or one of the provided feature flag IDs not found.
/v1/operations/feature-flags:
get:
summary: List all feature flags
description: Returns all feature flag definitions.
operationId: listFeatureFlags
tags:
- Users
security:
- ApiKeyAuth: []
responses:
'200':
description: List of feature flags.
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/OperationFeatureFlag'
'401':
description: Unauthorized.
post:
summary: Create a feature flag
description: Creates a new feature flag definition.
operationId: createFeatureFlag
tags:
- Users
security:
- ApiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateFeatureFlagRequest'
responses:
'201':
description: Feature flag created.
content:
application/json:
schema:
$ref: '#/components/schemas/OperationFeatureFlag'
'400':
description: Invalid request.
'401':
description: Unauthorized.
'409':
description: A feature flag with this ID already exists.
'422':
description: default_value does not match the declared value_type.
/v1/operations/feature-flags/{id}:
put:
summary: Update a feature flag
description: Updates the name and/or description of an existing feature flag.
operationId: updateFeatureFlag
tags:
- Users
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The feature flag slug ID.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateFeatureFlagRequest'
responses:
'200':
description: Updated feature flag.
content:
application/json:
schema:
$ref: '#/components/schemas/OperationFeatureFlag'
'401':
description: Unauthorized.
'404':
description: Feature flag not found.
'422':
description: default_value does not match the declared value_type.
delete:
summary: Delete a feature flag
description: Deletes a feature flag definition. All user assignments for this flag are removed as well (cascading delete).
operationId: deleteFeatureFlag
tags:
- Users
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The feature flag slug ID.
responses:
'204':
description: Feature flag deleted.
'401':
description: Unauthorized.
'404':
description: Feature flag not found.
components:
schemas:
FeatureFlagValue:
x-operation: true
description: 'The value of a feature flag. The type is determined by the flag''s value_type field. Possible shapes: boolean (true/false), string, number, array, or object.
'
CreateFeatureFlagRequest:
x-operation: true
type: object
required:
- id
- value_type
- default_value
properties:
id:
type: string
description: Unique slug for the feature flag.
example: beta_editor
name:
type:
- string
- 'null'
description: Optional human-readable display name.
description:
type:
- string
- 'null'
description: Optional description.
value_type:
type: string
enum:
- boolean
- string
- numeric
- array
- json
description: The type of value this flag carries. Cannot be changed after creation.
default_value:
$ref: '#/components/schemas/FeatureFlagValue'
description: The flag's global default value.
disabled:
type: boolean
description: 'When true, the flag is hidden from the user-facing API. It remains visible and manageable through the Operations API.
'
default: false
OperationFeatureFlag:
x-operation: true
type: object
required:
- id
properties:
id:
type: string
description: Unique slug identifier for the feature flag.
example: beta_editor
name:
type:
- string
- 'null'
description: Optional human-readable display name.
example: Beta Editor
description:
type:
- string
- 'null'
description: Optional description of what this feature flag enables.
created_at:
type:
- string
- 'null'
format: date-time
description: Timestamp when the flag was created.
value_type:
type: string
enum:
- boolean
- string
- numeric
- array
- json
description: The type of value this flag carries.
default_value:
$ref: '#/components/schemas/FeatureFlagValue'
description: The flag's global default value.
disabled:
type: boolean
description: 'When true, the flag is hidden from the user-facing API. It remains visible and manageable through the Operations API.
'
default: false
UserFeatureFlagState:
x-operation: true
type: object
required:
- feature_flag_id
- value_type
- default_value
properties:
feature_flag_id:
type: string
description: The feature flag's unique slug.
example: beta_editor
name:
type:
- string
- 'null'
description: Human-readable display name.
example: Beta Editor
value_type:
type: string
enum:
- boolean
- string
- numeric
- array
- json
description: The type of value this flag carries.
default_value:
$ref: '#/components/schemas/FeatureFlagValue'
description: The flag's global default value.
user_value:
$ref: '#/components/schemas/FeatureFlagValue'
description: The value explicitly set for this user. null means no override — the default applies.
UpdateFeatureFlagRequest:
x-operation: true
type: object
properties:
name:
type:
- string
- 'null'
description: Updated display name.
description:
type:
- string
- 'null'
description: Updated description.
default_value:
$ref: '#/components/schemas/FeatureFlagValue'
description: Updated global default value. value_type cannot be changed.
disabled:
type: boolean
description: 'When true, the flag is hidden from the user-facing API. It remains visible and manageable through the Operations API.
'
OperationUserProfile:
x-operation: true
type: object
required:
- id
- email
properties:
id:
type: string
description: The user's unique identifier.
example: abc123uid
email:
type: string
format: email
description: The user's email address.
example: user@example.com
full_name:
type:
- string
- 'null'
description: The user's full name.
example: Jane Doe
legacy_org_name:
type:
- string
- 'null'
description: The user's legacy organisation name.
example: Acme Transit
features:
type: array
description: 'All feature flags with their resolved state for this user. Every flag is returned (including those the user has no explicit override for); user_value holds the per-user override when set, otherwise the flag''s default_value applies.
'
items:
$ref: '#/components/schemas/UserFeatureFlagState'
default: []
PutUserFeatureFlagsRequest:
x-operation: true
type: object
required:
- assignments
properties:
assignments:
type: array
description: Complete list of feature flag assignments for this user. Replaces the current set.
items:
$ref: '#/components/schemas/FeatureFlagAssignment'
example:
- feature_flag_id: beta_editor
value: true
- feature_flag_id: max_results
value: 50
FeatureFlagAssignment:
x-operation: true
type: object
required:
- feature_flag_id
properties:
feature_flag_id:
type: string
description: The ID of the feature flag to assign.
example: beta_editor
value:
$ref: '#/components/schemas/FeatureFlagValue'
description: Per-user value override. null or absent means use the flag's default_value.
securitySchemes:
ApiKeyAuth:
type: apiKey
name: x-api-key
in: header