Skip to main content
POST
/
ai
/
analyze-proposal
Analyze Proposal Competitiveness
curl --request POST \
  --url https://api.example.com/ai/analyze-proposal \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "requirements": [
    {
      "name": "<string>",
      "description": "",
      "complexity": 3,
      "priority": "medium"
    }
  ],
  "totalPrice": 123,
  "estimatedDays": 123,
  "hourlyRate": 123,
  "role": "<string>",
  "seniority": "<string>",
  "location": "<string>",
  "currency": "USD",
  "proposalType": "technical",
  "hourBucketHours": 123,
  "hourBucketValidityDays": 123,
  "hourBucketExpiryPolicy": "<string>",
  "hourBucketMinBillingIncrement": 123,
  "hourBucketGovernanceTerms": "<string>",
  "hourBucketRisks": "<string>",
  "technicalGovernanceTerms": "<string>",
  "technicalRisks": "<string>",
  "warrantyDays": 123,
  "revisionRounds": 123,
  "tamEstimatedHoursMin": 123,
  "tamEstimatedHoursMax": 123,
  "tamBillingCadence": "<string>",
  "tamBudgetCap": 123,
  "tamGovernanceTerms": "<string>",
  "tamRisks": "<string>",
  "tamReimbursableExpenses": "<string>",
  "tamApprovalThreshold": 123,
  "retainerMonthlyHours": 123,
  "retainerDiscountedRate": 123,
  "retainerMinCommitmentMonths": 123,
  "retainerRolloverPercent": 123,
  "retainerSlaTerms": "<string>",
  "retainerGovernanceTerms": "<string>",
  "retainerRisks": "<string>",
  "retainerLicensesResponsibility": "<string>",
  "milestoneGovernanceTerms": "<string>",
  "milestoneRisks": "<string>",
  "milestoneDepositPercent": 123,
  "milestoneApprovalDays": 123,
  "milestoneRevisionRounds": 123,
  "milestonePhases": [
    {}
  ],
  "staffAugContractMonths": 123,
  "staffAugBillingCadence": "<string>",
  "staffAugGovernanceTerms": "<string>",
  "staffAugRisks": "<string>",
  "staffAugNoticePeriod": 123,
  "staffAugWorkingHours": "<string>",
  "staffAugIpOwnership": "<string>",
  "staffAugMode": "<string>",
  "managedOverlay": {},
  "blendedRateEnabled": true,
  "blendedRatePerHour": 123,
  "rampUpDiscountPercent": 123,
  "staffAugSlaAcknowledgeTime": 123,
  "staffAugSlaResolutionTime": 123,
  "staffAugSlaPenaltyPercent": 123,
  "staffAugSlaBonusPercent": 123,
  "phases": [
    {}
  ],
  "availableTeam": [
    {}
  ],
  "proposalTeam": [
    {}
  ],
  "agencyMargin": 123,
  "internalCost": 123,
  "blendedRate": 123,
  "sowOutOfScope": "<string>",
  "sowAcceptanceCriteria": "<string>",
  "providerType": "freelancer",
  "clientName": "<string>",
  "companySize": "<string>",
  "industry": "<string>",
  "clientType": "<string>",
  "includeDifferentiators": false,
  "differentiatorsSummary": "<string>",
  "language": "en",
  "apiKey": "<string>",
  "aiProvider": "gemini",
  "openaiApiKey": "<string>",
  "anthropicApiKey": "<string>"
}
'
{
  "competitivenessScore": 123,
  "analysis": {},
  "suggestions": [
    "<string>"
  ],
  "overallReasoning": "<string>",
  "success": true,
  "modelSpecificInsights": [
    "<string>"
  ],
  "error": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Schema for proposal competitiveness analysis request.

requirements
RequirementInput · object[]
required
totalPrice
required
estimatedDays
integer
required
hourlyRate
required
role
string
required
seniority
string
required
location
string
required
currency
string
default:USD
proposalType
string
default:technical
hourBucketHours
integer | null
hourBucketValidityDays
integer | null
hourBucketExpiryPolicy
string | null
hourBucketMinBillingIncrement
integer | null
hourBucketGovernanceTerms
string | null
hourBucketRisks
string | null
technicalGovernanceTerms
string | null
technicalRisks
string | null
warrantyDays
integer | null
revisionRounds
integer | null
tamEstimatedHoursMin
integer | null
tamEstimatedHoursMax
integer | null
tamBillingCadence
string | null
tamBudgetCap
number | null
tamGovernanceTerms
string | null
tamRisks
string | null
tamReimbursableExpenses
string | null
tamApprovalThreshold
integer | null
retainerMonthlyHours
integer | null
retainerDiscountedRate
number | null
retainerMinCommitmentMonths
integer | null
retainerRolloverPercent
integer | null
retainerSlaTerms
string | null
retainerGovernanceTerms
string | null
retainerRisks
string | null
retainerLicensesResponsibility
string | null
milestoneGovernanceTerms
string | null
milestoneRisks
string | null
milestoneDepositPercent
integer | null
milestoneApprovalDays
integer | null
milestoneRevisionRounds
integer | null
milestonePhases
Milestonephases · object[] | null
staffAugContractMonths
integer | null
staffAugBillingCadence
string | null
staffAugGovernanceTerms
string | null
staffAugRisks
string | null
staffAugNoticePeriod
integer | null
staffAugWorkingHours
string | null
staffAugIpOwnership
string | null
staffAugMode
string | null
managedOverlay
Managedoverlay · object
blendedRateEnabled
boolean | null
blendedRatePerHour
number | null
rampUpDiscountPercent
number | null
staffAugSlaAcknowledgeTime
integer | null
staffAugSlaResolutionTime
integer | null
staffAugSlaPenaltyPercent
number | null
staffAugSlaBonusPercent
number | null
phases
Phases · object[] | null
availableTeam
Availableteam · object[] | null
proposalTeam
Proposalteam · object[] | null
agencyMargin
number | null
internalCost
number | null
blendedRate
number | null
sowOutOfScope
string | null
sowAcceptanceCriteria
string | null
providerType
string
default:freelancer
clientName
string | null
companySize
string | null
industry
string | null
clientType
string | null
includeDifferentiators
boolean
default:false
differentiatorsSummary
string | null
language
enum<string>
default:en
Available options:
es,
en
apiKey
string | null
aiProvider
enum<string> | null
default:gemini
Available options:
gemini,
openai,
anthropic
openaiApiKey
string | null
anthropicApiKey
string | null

Response

Successful Response

Schema for proposal analysis response.

competitivenessScore
integer
required
analysis
Analysis · object
required
suggestions
string[]
required
overallReasoning
string
required
success
boolean
default:true
modelSpecificInsights
string[] | null
error
string | null