How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

FOLIO Agreements API

The Agreements API from FOLIO — 20 operation(s) for agreements.

FOLIO Agreements API is one of 352 APIs that FOLIO publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 117 JSON Schema definitions.

Tagged areas include Agreements. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, an API reference, and 117 JSON Schemas.

This API exposes 23 operations across 20 paths, and defines 50 schemas. It is described by OpenAPI 3.2.0, at version 7.3.0.

Requests are made against 3 base URLs: https://folio-snapshot-okapi.dev.folio.org, https://folio-snapshot-2-okapi.dev.folio.org, https://folio-etesting-snapshot-kong.ci.folio.org.

23 operations 20 paths 50 schemas 1 DELETE19 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
7.3.0
Servers
https://folio-snapshot-okapi.dev.folio.org
https://folio-snapshot-2-okapi.dev.folio.org
https://folio-etesting-snapshot-kong.ci.folio.org
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

FOLIO Agreements API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-okapi-token (okapiToken). An API key is passed in the cookie as folioAccessToken (accessToken). By default, every request must be authenticated.

Paths & Operations 23

Across 20 paths, the API surfaces 23 operations — 1 DELETE, 19 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Agreements 23
GET
/erm/sas
Get a set of subscription agreement (SA) aka Agreement records
getAgreements 9 params → 200400403500
POST
/erm/sas
Create subscription agreement (SA) aka Agreement record
postSA 1 param body → 201400403422500
GET
/erm/sas/{agreementId}
Get a specified agreement record
getAgreement 2 params → 200400403404500
PUT
/erm/sas/{agreementId}
Update agreement record
putAgreement 2 params body → 200400404500
DELETE
/erm/sas/{agreementId}
Delete a specified agreement record
deleteAgreement 2 params → 204400403404500
GET
/erm/sas/{agreementId}/resources
Returns all resources in the internal KB associated with specified agreement
getAgreementResourcesDefault 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/all
Returns all resources in the internal KB associated with specified agreement
getAgreementResourcesAll 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/current
Returns resources in the internal KB associated with specified agreement…
getAgreementResourcesCurrent 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/dropped
Returns resources in the internal KB associated with specified agreement which…
getAgreementResourcesDropped 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/future
Returns resources in the internal KB associated with specified agreement which…
getAgreementResourcesFuture 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/static
Returns all resources in the internal KB associated with specified agreement…
getAgreementResourcesStaticDefault 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/static/all
Returns all resources in the internal KB associated with specified agreement…
getAgreementResourcesStaticAll 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/static/current
Returns resources in the internal KB associated with specified agreement…
getAgreementResourcesStaticCurrent 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/static/dropped
Returns resources in the internal KB associated with specified agreement which…
getAgreementResourcesStaticDropped 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/static/future
Returns resources in the internal KB associated with specified agreement which…
getAgreementResourcesStaticFuture 2 params → 200400403404500
GET
/erm/sas/{agreementId}/resources/export/{subset}/{format}
Returns a list of either current or all resources in the internal KB associated…
exportAgreementResourcesSubsetFormat 4 params → 200400403500
GET
/erm/sas/{agreementId}/export/current
Returns JSON for an Agreement including a list of resources currently available…
exportAgreementCurrent 2 params → 200400403404500
POST
/erm/sas/{agreementId}/clone
Clones (makes a duplicate) of the specified agreement
cloneAgreement 2 params body → 200400403404422500
GET
/erm/sas/{agreementId}/linkedLicenses
Retrieves the licenses and amendments for a specified agreement from the…
getAgreementLinkedLicenses 10 params → 200400403404500
GET
/erm/sas/{agreementId}/usageDataProviders
Retrieves the usage data providers for a specified agreement
getAgreementUsageDataProviders 10 params → 200400403404500
GET
/erm/sas/publicLookup
Get a list of agreements including license terms for a resource or set of…
publicLookup 11 params → 200400403500
GET
/erm/sas/linkedLicenses
Retrieves the licenses and amendments for a set of agreements that fulfil the…
getLinkedLicenses 9 params → 200400403404500
GET
/erm/sas/usageDataProviders
Retrieves the usage data providers for a set of agreements that fulfil the…
getUsageDataProviders 9 params → 200400403404500

Schemas 50

The contract defines 50 schemas that model the data the API accepts and returns. The most detailed are Agreement (28 properties), ErmResource (17 properties), ExportEntry (14 properties), CustomPropertyDefinition (10 properties). Each schema is shown below with its type and property counts.

AlternateResourceName
object
2 properties 2 required
CustomPropertyValue
object
6 properties
ErmResourceResultsArray
array
Package
object
4 required
TitleInstance
object
2 required
resourcesInAgreementExport
object
1 property
Organisation
object
4 properties
SubscriptionAgreementList
object
7 properties 3 required
TitleInstanceRef
A lightweight representation of a title instance, used where a title references another title (e.g. TitleInstance.relatedTitles). Unlike the full TitleInstance…
Agreement
object
28 properties 4 required
ResultsMeta
object
6 properties
LinkedLicensesResults
object
1 required
AgreementRelationship
object
4 properties
AgreementResults
object
1 required
RefdataCategory
object
4 properties
AvailabilityConstraint
object
2 properties 2 required
Platform
object
5 properties 1 required
UsageDataProvidersResultsArray
array
InternalContact
object
4 properties
Tag
object
3 properties
DocumentAttachment
object
9 properties 2 required
PackageDescriptionUrl
object
2 properties 1 required
LinkedLicensesResultsArray
array
Embargo
object
3 properties
File
object
5 properties 3 required
AlternateName
object
3 properties 1 required
IdentifierOccurrence
object
3 properties
EmbargoStatement
object
2 properties
ExportEntry
object
One exported resource, paired with the agreement entitlement (and, if entitled via a package, the package) it was exported for. The same resource can appear mo…
14 properties 4 required
ErmResourceResults
object
1 required
PackageContentItem
object
1 required
PlatformTitleInstance
object
3 required
UsageDataProvider
object
4 properties
AgreementResultsArray
array
ModAgreementsLicense
object
2 properties 2 required
HttpError
object
2 properties
CustomPropertyDefinition
object
10 properties
ApplicationError
object
2 properties
ContentType
object
2 properties 2 required
LinkedLicense
object
6 properties
CoverageStatement
object
8 properties
Refdata
object
3 properties
DataSchemaHeader
object
Envelope header used by public API lookup/import endpoints to self-describe the response's data schema
1 property 1 required
AgreementContentType
object
2 properties
UsageDataProvidersResults
object
1 required
AgreementRelationshipAgreement
object
5 properties
LinkedAmendment
object
4 properties
AgreementOrg
object
6 properties
Identifier
object
2 properties
ErmResource
object
17 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

folio-agreements-api-openapi.yml Raw ↑

Other APIs FOLIO publishes across the network.

FOLIO edge-oai-pmh
FOLIO edge-orders
FOLIO edge-patron
FOLIO folio-custom-fields
FOLIO mod-audit
FOLIO mod-circulation-storage
FOLIO mod-circulation
FOLIO mod-configuration
FOLIO mod-copycat
FOLIO mod-courses
FOLIO mod-data-import
FOLIO mod-di-converter-storage
Where this information came from

This is an independent, third-party profile of FOLIO Agreements API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.