Granicus Matter Relations API

The MatterRelations API from Granicus — 2 operation(s) for matterrelations.

Operations 5

GET /v1/{Client}/Matters/{MatterId}/Relations Gets all Matter Relations for one Matter record #
POST /v1/{Client}/Matters/{MatterId}/Relations Adds one Matter Relation #
GET /v1/{Client}/Matters/{MatterId}/Relations/{MatterRelationId} Gets one Matter Relation #
PUT /v1/{Client}/Matters/{MatterId}/Relations/{MatterRelationId} Updates one Matter Relation #
DELETE /v1/{Client}/Matters/{MatterId}/Relations/{MatterRelationId} Deletes one Matter Relation #

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/granicus:granicus-matterrelations-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

granicus-matterrelations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Granicus Matter Relations API
  version: v1
  description: 'Operations tagged MatterRelations across 2 of this provider''s published API definitions: granicus-legistar-swagger.json, granicus-legistar-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://webapi.legistar.com
tags:
- name: MatterRelations
paths:
  /v1/{Client}/Matters/{MatterId}/Relations:
    get:
      tags:
      - MatterRelations
      summary: Gets all Matter Relations for one Matter record
      operationId: MatterRelations_GetAll
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: MatterId
        in: path
        description: The MatterId of the Matter.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
            application/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
            text/xml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
            text/javascript:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
            application/javascript:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
            application/json-p:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GranicusMatterRelation'
    post:
      tags:
      - MatterRelations
      summary: Adds one Matter Relation
      operationId: MatterRelations_Post
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: MatterId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            application/json-p:
              schema:
                type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          text/json:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          application/xml:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          text/xml:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
        description: GranicusMatterRelation object to be inserted. Note that MatterRelationId is not required to be set.
        required: true
    servers:
    - url: https://webapi.legistar.com
  /v1/{Client}/Matters/{MatterId}/Relations/{MatterRelationId}:
    get:
      tags:
      - MatterRelations
      summary: Gets one Matter Relation
      operationId: MatterRelations_Get
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: MatterId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: MatterRelationId
        in: path
        description: The MatterRelationId of the Matter Relation.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
            text/json:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
            application/xml:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
            text/xml:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
            text/javascript:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
            application/javascript:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
            application/json-p:
              schema:
                $ref: '#/components/schemas/GranicusMatterRelation'
    put:
      tags:
      - MatterRelations
      summary: Updates one Matter Relation
      operationId: MatterRelations_Put
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: MatterRelationId
        in: path
        description: The MatterRelationId of the Matter Relation.
        required: true
        schema:
          type: integer
          format: int32
      - name: MatterId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            application/json-p:
              schema:
                type: object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          text/json:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          application/xml:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          text/xml:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/GranicusMatterRelation'
        description: GranicusMatterRelation object to be updated. Note that MatterRelationId is not required to be set.
        required: true
    delete:
      tags:
      - MatterRelations
      summary: Deletes one Matter Relation
      operationId: MatterRelations_Delete
      parameters:
      - name: Client
        in: path
        description: The code of the Client database to connect to.
        required: true
        schema:
          type: string
      - name: MatterRelationId
        in: path
        description: The MatterRelationId of the Matter Relation.
        required: true
        schema:
          type: integer
          format: int32
      - name: MatterId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            application/json-p:
              schema:
                type: object
    servers:
    - url: https://webapi.legistar.com
components:
  schemas:
    GranicusMatterRelation:
      required:
      - matterRelationMatterId
      type: object
      properties:
        matterRelationId:
          format: int32
          type: integer
        matterRelationGuid:
          type: string
        matterRelationLastModifiedUtc:
          format: date-time
          type: string
        matterRelationRowVersion:
          format: byte
          type: string
        matterRelationMatterId:
          format: int32
          type: integer
        matterRelationFlag:
          format: int32
          type: integer
x-refined-from:
- granicus-legistar-swagger.json
- granicus-legistar-openapi.yml
x-provenance:
  method: harvested
  publisher: Granicus
  source: https://webapi.legistar.com/swagger/docs/v1
  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)