Skip to main content

Get AI Pricing (v1)

Method & Path

GET /api/v1/workspace/:workspaceId/ai/pricing

Description

Get AI tool pricing information including cost per post, image, and vision processing.

Authentication

Required: Workspace authentication. User must be authenticated as Workspace Owner or Staff with workspace permissions.

Headers

Authorization: Bearer <workspace_token>
Content-Type: application/json

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier

Response 200 OK

{
"textCostPerPost": 0.10,
"imageCostPerImage": 0.20,
"visionCostPerImage": 0.15,
"costMultiplier": 1.0
}

Response Fields

  • textCostPerPost (number): Cost per marketing post text generation
  • imageCostPerImage (number): Cost per image generation
  • visionCostPerImage (number): Cost per image vision processing
  • costMultiplier (number): Cost multiplier applied to all AI operations

Common Errors

401 Unauthorized: Missing or invalid authentication token

404 Not Found: Workspace not found

500 Internal Server Error: Server error occurred while processing the request