openapi: 3.1.0 info: title: Fieldwire Account Actual Costs API description: 'Account-scoped (super) endpoints used to authenticate, exchange the long-lived API key (refresh token) for a short-lived JWT access token, and manage account-level users, roles, attachments, data types, custom stamps, account form templates, and project transfers. All requests target the global super host: `https://client-api.super.fieldwire.com`. Project-scoped reads/writes use the regional Projects API (`client-api.us.fieldwire.com` or `client-api.eu.fieldwire.com`). ' version: v3.1 contact: name: Fieldwire Developer Support url: https://developers.fieldwire.com/ license: name: Fieldwire Terms of Service url: https://www.fieldwire.com/terms/ servers: - url: https://client-api.super.fieldwire.com description: Global Super Host security: - BearerAuth: [] tags: - name: Actual Costs description: Actual cost entries logged against budget lines. paths: /projects/{project_id}/actual_costs: get: operationId: getActualCostsInProject summary: Get Actual Costs In Project tags: - Actual Costs parameters: - $ref: '#/components/parameters/ProjectId' responses: '200': description: Actual cost list. content: application/json: schema: type: array items: $ref: '#/components/schemas/ActualCost' post: operationId: createActualCostInProject summary: Create Actual Cost In Project tags: - Actual Costs parameters: - $ref: '#/components/parameters/ProjectId' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ActualCostCreate' responses: '201': description: Created actual cost. content: application/json: schema: $ref: '#/components/schemas/ActualCost' components: schemas: ActualCostCreate: type: object required: - budget_line_item_id - amount properties: budget_line_item_id: type: integer format: int64 amount: type: number format: double currency: type: string incurred_at: type: string format: date-time description: type: string ActualCost: type: object properties: id: type: integer format: int64 budget_line_item_id: type: integer format: int64 amount: type: number format: double currency: type: string incurred_at: type: string format: date-time description: type: string created_at: type: string format: date-time parameters: ProjectId: name: project_id in: path required: true schema: type: integer format: int64 securitySchemes: BearerAuth: type: http scheme: bearer bearerFormat: JWT description: 'Send the short-lived access token returned by `POST /api_keys/jwt` as `Authorization: Bearer `. Also include the `Fieldwire-Version` request header and `Content-Type: application/json`. '