Generated by API Evangelist
Written by API Evangelist tooling for Lawmatics's API. It is a proposal applied on top of the contract, not a document Lawmatics publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Lawmatics OAuth Files API
version: 1.0.0
extends: openapi/lawmatics-files-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 6
- target: $.paths['/v1/files/{file_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a file's metadata
effect: read
questions:
- What does a file's metadata include, like its name and folder?
- Can I look up one file by its ID?
instructions:
- text: Show file {file_id}.
slots:
file_id: path.file_id
- text: Get the metadata for file {file_id}.
slots:
file_id: path.file_id
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/files/{file_id}'].put
update:
x-apievangelist-phrasing:
intent: Update a file's metadata
effect: write
questions:
- Can I move a file to a different folder?
- How do I rename a file?
instructions:
- text: Move file {file_id} to folder {folder_id}.
slots:
file_id: path.file_id
folder_id: requestBody.folder_id
- text: Rename file {file_id} to {name}.
slots:
file_id: path.file_id
name: requestBody.name
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/files/{file_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a file
effect: destructive
questions:
- How do I delete a file?
- Can I remove a file from a matter?
instructions:
- text: Delete file {file_id}.
slots:
file_id: path.file_id
- text: Remove file {file_id} from the firm.
slots:
file_id: path.file_id
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/files'].get
update:
x-apievangelist-phrasing:
intent: List file metadata across the firm
effect: read
questions:
- Which files exist across my law firm in Lawmatics?
- Can I get a paginated list of every file's metadata?
instructions:
- text: List all file metadata in Lawmatics.
- text: Show me the full list of files for my firm, with all fields.
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/files'].post
update:
x-apievangelist-phrasing:
intent: Upload a file to a firm, matter, contact or client
effect: write
questions:
- How do I upload a file to a matter or client?
- What is the maximum size for an uploaded file?
instructions:
- text: Upload {file} to the {documentable_type} record.
slots:
file: requestBody.file
documentable_type: requestBody.documentable_type
- text: Save {file} as a client file.
slots:
file: requestBody.file
method: generated
generated: '2026-11-19'
- target: $.paths['/v1/files/download/{id}'].get
update:
x-apievangelist-phrasing:
intent: Download a file
effect: read
questions:
- How do I download a file by ID?
- Can I save a file to my computer?
instructions:
- text: Download file {id}.
slots:
id: path.id
- text: Save file {id} to my computer.
slots:
id: path.id
method: generated
generated: '2026-11-19'
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.