LawVu Fields API

The Fields API from LawVu — 5 operation(s) for fields.

Operations 6

GET /v2/fields Get fields #
GET /v2/fields/{fieldId}/options Get field options #
POST /v2/fields/{fieldId}/options Add an option to a field #
GET /v2/fields/{fieldId}/options/{value} Get an option for a field #
PATCH /v2/fields/{fieldId}/options/{value} Update an option on a field #
DELETE /v2/fields/{fieldId}/options/{value} Delete an option from a field #

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/lawvu:lawvu-fields-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

lawvu-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LawVu Fields API
  description: The next generation of the LawVu API.
  termsOfService: https://developer.lawvu.com/developer-terms
  contact:
    name: LawVu Developer Support Team
    url: https://developer.lawvu.com
    email: developer@lawvu.com
  version: "1.0"
servers:
- url: https://api-sandbox.lawvu.com
  description: Sandbox API
- url: https://api.lawvu.com
  description: Production API
tags:
- name: Fields
paths:
  /v2/fields:
    get:
      tags:
      - Fields
      summary: Get fields
      description: Retrieve a list of available fields
      operationId: get-v2-fields
      parameters:
      - name: $skip
        in: query
        description: Specifies the number of items to skip
        schema:
          type: integer
          description: Specifies the number of items to skip
          format: int32
          default: 0
      - name: $top
        in: query
        description: Specifies the maximum number of items to return
        schema:
          type: integer
          description: Specifies the maximum number of items to return
          format: int32
          default: 25
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldCollectionResponse'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
  /v2/fields/{fieldId}/options:
    get:
      tags:
      - Fields
      summary: Get field options
      description: 'Retrieve a list of available options for a field.


        Supported field types: MultiOption, Option'
      operationId: get-v2-fields-fieldid-options
      parameters:
      - name: fieldId
        in: path
        description: The API name for the field
        required: true
        schema:
          type: string
          description: The API name for the field
          example: my_field
        example: my_field
      - name: $filter
        in: query
        description: Filter the results using OData filter syntax
        schema:
          type: string
      - name: $skip
        in: query
        description: Skip the specified number of results
        schema:
          type: integer
      - name: $top
        in: query
        description: Limit the number of results returned
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldOptionCollectionResponse'
              examples:
                Field options:
                  summary: Example of field options
                  value:
                    items:
                    - label: Option 1
                      value: option_1
                      properties: null
                    - label: Option 2
                      value: option_2
                      properties: null
                Department field options:
                  summary: Example of field options for a department field
                  value:
                    items:
                    - label: Operations
                      value: '657'
                      properties: null
                    - label: Marketing Department
                      value: '8643'
                      properties:
                        parentId: '657'
                    - label: Finance Department
                      value: '9875'
                      properties:
                        parentId: '657'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
              example:
                detail: 'Options not supported for field type: Text'
                instance: /fields/my_field
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 400
                title: Invalid request
                type: https://api-docs.lawvu.com/errors/invalid_request
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: Cannot retrieve options as the requested field could not be found
                instance: /fields/my_field
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 404
                title: Resource not found
                type: https://api-docs.lawvu.com/errors/resource_not_found
    post:
      tags:
      - Fields
      summary: Add an option to a field
      description: 'Add a an option for a field.


        Supported field types: MultiOption, Option'
      operationId: post-v2-fields-fieldid-options
      parameters:
      - name: fieldId
        in: path
        description: The API name for the field
        required: true
        schema:
          type: string
          description: The API name for the field
          example: my_field
        example: my_field
      requestBody:
        content:
          application/json:
            schema:
              required:
              - label
              allOf:
              - $ref: '#/components/schemas/CreateFieldOption'
            examples:
              Create field option:
                summary: Example of creating a field option
                value:
                  label: Option 1
              Create department field option:
                summary: Example of creating a field option for a department field with a parent
                value:
                  label: Marketing Department
                  properties:
                    parentId: '657'
      responses:
        '201':
          description: Created
          headers:
            Location:
              description: Location to retrieve the created resource
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatedFieldOption'
              examples:
                Created field option:
                  summary: Example of a created field option response
                  value:
                    value: option_1
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
              example:
                detail: Field does not support adding options
                instance: /fields/my_field
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 400
                title: Invalid request
                type: https://api-docs.lawvu.com/errors/invalid_request
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: Cannot add option as the requested field could not be found
                instance: /fields/my_field
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 404
                title: Resource not found
                type: https://api-docs.lawvu.com/errors/resource_not_found
  /v2/fields/{fieldId}/options/{value}:
    get:
      tags:
      - Fields
      summary: Get an option for a field
      description: 'Retrieve an option for a field based by value


        Supported field types: MultiOption, Option'
      operationId: get-v2-fields-fieldid-options-value
      parameters:
      - name: fieldId
        in: path
        description: The API name for the field
        required: true
        schema:
          type: string
          description: The API name for the field
          example: my_field
        example: my_field
      - name: value
        in: path
        description: The system generated value for the field option
        required: true
        schema:
          type: string
          description: The system generated value for the field option
          example: option_1
        example: option_1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FieldOption'
              examples:
                Field option:
                  summary: Example of a field option
                  value:
                    label: Option 1
                    value: option_1
                    properties: null
                Department field option:
                  summary: Example of a field option for a department field
                  value:
                    label: Marketing Department
                    value: '8643'
                    properties:
                      parentId: '657'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
              example:
                detail: Field does not support options
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 400
                title: Invalid request
                type: https://api-docs.lawvu.com/errors/invalid_request
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: You do not have permission to get this field option
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 403
                title: Forbidden
                type: https://api-docs.lawvu.com/errors/forbidden
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: Field option does not exist
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 404
                title: Resource not found
                type: https://api-docs.lawvu.com/errors/resource_not_found
    patch:
      tags:
      - Fields
      summary: Update an option on a field
      description: 'Update an option on a field by value.


        Supported field types: MultiOption, Option'
      operationId: patch-v2-fields-fieldid-options-value
      parameters:
      - name: fieldId
        in: path
        description: The API name for the field
        required: true
        schema:
          type: string
          description: The API name for the field
          example: my_field
        example: my_field
      - name: value
        in: path
        description: The value of the option to update
        required: true
        schema:
          type: string
        example: option_1
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              allOf:
              - $ref: '#/components/schemas/UpdateFieldOption'
            examples:
              Update field option label:
                summary: Example of updating a field option's label
                value:
                  label: Updated Label
              Update field option properties:
                summary: Example of updating a field option's properties
                value:
                  properties:
                    parentId: '657'
              Update field option label and properties:
                summary: Example of updating a field option's label and properties
                value:
                  label: Updated Department Sub
                  properties:
                    parentId: '657'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
              example:
                detail: Field does not support options
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 400
                title: Invalid request
                type: https://api-docs.lawvu.com/errors/invalid_request
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: Field option does not exist
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 404
                title: Resource not found
                type: https://api-docs.lawvu.com/errors/resource_not_found
    delete:
      tags:
      - Fields
      summary: Delete an option from a field
      description: 'Removes an option from a field by value.


        Supported field types: MultiOption, Option'
      operationId: delete-v2-fields-fieldid-options-value
      parameters:
      - name: fieldId
        in: path
        description: The API name for the field
        required: true
        schema:
          type: string
          description: The API name for the field
          example: my_field
        example: my_field
      - name: value
        in: path
        description: The system generated value for the field option
        required: true
        schema:
          type: string
          description: The system generated value for the field option
          example: option_1
        example: option_1
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
              example:
                detail: Field does not support deleting options
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 400
                title: Invalid request
                type: https://api-docs.lawvu.com/errors/invalid_request
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: You do not have permission to delete this field option
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 403
                title: Forbidden
                type: https://api-docs.lawvu.com/errors/forbidden
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
              example:
                detail: Field option does not exist
                instance: /fields/my_field/options/option_1
                operationId: 7edb5d62-f5bf-463b-9410-cdd8b3293d89
                status: 404
                title: Resource not found
                type: https://api-docs.lawvu.com/errors/resource_not_found
components:
  schemas:
    FieldCollectionResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Field'
          description: The collection of items
      additionalProperties: false
      description: Response wrapper of a collection of items
    FieldOptionCollectionResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/FieldOption'
          description: The collection of items
      additionalProperties: false
      description: Response wrapper of a collection of items
    CreateFieldOption:
      required:
      - label
      type: object
      properties:
        label:
          type: string
          description: The user defined label of the field option
          example: Option A
        properties:
          type:
          - object
          - 'null'
          additionalProperties:
            x-additionalPropertiesName: propertyName
          description: Additional properties based on the type of field option. See examples for more details.
      additionalProperties: false
    MultiOptionFieldProperties:
      type: object
      properties:
        userCanAddOption:
          type:
          - boolean
          - 'null'
          description: Indicates if an option can be added without the user having access to further manage the field options
          example: true
      additionalProperties: false
    ProblemDetails:
      type: object
      properties:
        detail:
          type: string
          description: More information about the problem.
        instance:
          type: string
          description: The URI of the resource which the error relates to.
        operationId:
          type: string
          description: A unique trace identifier for the request. This should be provided when requesting support.
        status:
          type: integer
          description: The HTTP status code for the problem.
          format: int32
        title:
          type: string
          description: A short description of the error.
        type:
          type: string
          description: A URI which can be followed to find out more about the problem.
      additionalProperties: {}
    UpdateFieldOption:
      type: object
      properties:
        label:
          type:
          - string
          - 'null'
          description: The user defined label of the field option
          example: Option A
        properties:
          type:
          - object
          - 'null'
          additionalProperties: {}
          description: Specific properties for the field option, varies by field type
      additionalProperties: false
    HttpValidationProblemDetails:
      type: object
      properties:
        detail:
          type: string
          description: More information about the problem.
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: A dictionary of validation errors, where each key is a field api name and the value is a list of error messages.
        instance:
          type: string
          description: The URI of the resource which the error relates to.
        operationId:
          type: string
          description: A unique trace identifier for the request. This should be provided when requesting support.
        status:
          type: integer
          description: The HTTP status code for the problem.
          format: int32
        title:
          type: string
          description: A short description of the error.
        type:
          type: string
          description: A URI which can be followed to find out more about the problem.
      additionalProperties: {}
    CreatedFieldOption:
      type: object
      properties:
        value:
          type: string
          description: The system generated value for the field option
          readOnly: true
          example: option_1
      additionalProperties: false
      description: Represents a field option that has been created
    OptionFieldProperties:
      type: object
      properties:
        userCanAddOption:
          type:
          - boolean
          - 'null'
          description: Indicates if an option can be added without the user having access to further manage the field options
          example: true
      additionalProperties: false
    AuditableReference:
      type: object
      properties:
        dateUtc:
          type: string
          description: The date and time the action was performed. The date and time uses the ISO-8601 format and will be in UTC
          format: date-time
          readOnly: true
          example: '2024-12-25T00:00:00Z'
        userName:
          type: string
          description: The username of who performed the action
          readOnly: true
          example: api.developer@lawvu.com
      additionalProperties: false
    FieldType:
      enum:
      - Text
      - Decimal
      - Boolean
      - Date
      - Option
      - MultiOption
      - User
      type: string
    Field:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: The API name for the field
          readOnly: true
          example: my_field
        name:
          type:
          - string
          - 'null'
          description: The user defined name of the field
          example: My dropdown field
        type:
          allOf:
          - $ref: '#/components/schemas/FieldType'
          description: The type of the field
          example: text
        properties:
          oneOf:
          - $ref: '#/components/schemas/MultiOptionFieldProperties'
          - $ref: '#/components/schemas/OptionFieldProperties'
          description: Specific properties for the field, varies by type
          readOnly: true
        created:
          allOf:
          - $ref: '#/components/schemas/AuditableReference'
          description: The username who created the field and when
          readOnly: true
        modified:
          allOf:
          - $ref: '#/components/schemas/AuditableReference'
          description: The username who modified the field and when
          readOnly: true
      additionalProperties: false
    FieldOption:
      required:
      - label
      type: object
      properties:
        label:
          type:
          - string
          - 'null'
          description: The user defined label of the field option
          example: Option A
        value:
          type:
          - string
          - 'null'
          description: The system generated value for the field option
          readOnly: true
          example: option_1
        properties:
          type:
          - object
          - 'null'
          additionalProperties:
            x-additionalPropertiesName: propertyName
          description: Additional properties based on the type of field option. See examples for more details.
      additionalProperties: false
x-provenance:
  method: harvested
  publisher: LawVu
  source: https://api-docs.lawvu.com/_bundle/new-api/lawvuapi.openapi.yaml?download
  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)