> ## Documentation Index > Fetch the complete documentation index at: https://bunny.net/docs/llms.txt > Use this file to discover all available pages before exploring further. # Get Contract > Get the contract details for the authenticated partner. ## OpenAPI ````yaml https://core-api-public-docs.b-cdn.net/docs/v3/PartnerPortal.json get /partner/contract openapi: 3.0.0 info: title: bunny.net Partner Portal API version: 1.0.0 servers: - url: https://api.bunny.net description: bunny.net API Server security: - AccessKey: [] tags: - name: Customers - name: Audit Log - name: Contract - name: Billing - name: Pricing - name: Products paths: /partner/contract: get: tags: - Contract summary: Get Contract description: Get the contract details for the authenticated partner. operationId: GetPartnerContractEndpoint_GetContract responses: '200': description: Partner contract details. content: application/json: schema: $ref: '#/components/schemas/PartnerCustomerContractModel' '401': description: The request authorization failed. '403': description: The authenticated user is not a reseller or MSP partner. '404': description: The partner has no contract configured. security: - AccessKey: - ResellerPartner - MSPPartner - bearer: - ResellerPartner - MSPPartner components: schemas: PartnerCustomerContractModel: type: object additionalProperties: false properties: PartnerCustomerId: type: integer description: >- Id of the partner-customer relationship the contract applies to. Set for customer contracts, null for partner-level contracts format: int64 nullable: true ContractValue: type: number description: Total contract value over the agreed period format: decimal MonthlyCommitmentValue: type: number description: >- Optional monthly commitment value displayed alongside usage charts. Null if no monthly commitment is agreed format: decimal nullable: true ContractStartDate: type: string description: Start date of the contract format: date-time ContractEndDate: type: string description: End date of the contract format: date-time ContractBillingType: description: |- Billing arrangement agreed with the customer 1 = Pay As You Go 2 = Post Paid oneOf: - $ref: '#/components/schemas/PartnerContractBillingType' Currency: description: |- Currency of the contract 0 = US Dollar 1 = Euro oneOf: - $ref: '#/components/schemas/PartnerCustomerContractCurrency' UpdatedByUserId: type: string description: User id of the user updating this contract nullable: true PartnerUserId: type: string description: >- User id of the partner this contract applies to. Set for partner-level contracts, null for customer contracts nullable: true PartnerContractBillingType: type: integer description: |- 1 = Pay As You Go 2 = Post Paid x-enumNames: - PayAsYouGo - PostPaidPayAsYouGo enum: - 1 - 2 PartnerCustomerContractCurrency: type: integer description: |- 0 = US Dollar 1 = Euro x-enumNames: - USD - EUR enum: - 0 - 1 securitySchemes: AccessKey: type: apiKey description: API Access Key authorization header name: AccessKey in: header bearer: type: apiKey description: Bearer token authorization header name: Authorization in: header ```` This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.