API specifications explain how an API behaves and how it interacts with other APIs.
API specs can function like API documentation, but they also explain the values, parameters, and objects in the schema of the API. An API spec helps users know how to make requests to the APIs contained within the spec.