{"openapi":"3.1.0","info":{"title":"IdeaPulley API","version":"2.0.0","description":"Every call runs as the person who made the key, in the key's fund (GET /fund names it, e.g. ycombinator/ii): key scopes intersected with that person's current role. Scopes: evals:read (Read companies and their scores.); evals:write (Submit companies for scoring.); webhooks:manage (Create, change and delete webhooks.); deals:read (Read deals you can see in the app.); deals:write (Create and change deals.); notes:read (Read deal notes.); notes:write (Add notes to deals.); outcomes:write (Record what happened to a company later (raised, failed, exited).); reports:read (Read LP reports, memos and fund reports.); usage:read (Read usage and credit balance.); members:read (Read the fund's member list.); diligence:run (Start diligence runs. This spends credits.); decisions:write (Record Pass, Meet or Invest decisions.); memos:write (Write and generate memos. Generating spends credits.)"},"servers":[{"url":"https://www.ideapulley.com/api/v2"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"sk-ip- API key from Settings > Developer"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","status"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"status":{"type":"integer"},"details":{}}}}},"Page":{"type":"object","required":["data","next_cursor","has_more"],"properties":{"data":{"type":"array","items":{}},"next_cursor":{"type":["string","null"]},"has_more":{"type":"boolean"}}}}},"paths":{"/fund":{"get":{"operationId":"getFund","summary":"The fund this key acts in, with its firm and its firm/fund address (e.g. ycombinator/ii).","security":[{"bearer":[]}],"x-scope":"members:read","parameters":[{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/deals":{"get":{"operationId":"listDeals","summary":"Deals the key's creator can see, newest first.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createDeal","summary":"Add a company to the fund (deduplicated) and start scoring it.","security":[{"bearer":[]}],"x-scope":"deals:write","parameters":[{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency-Key reused with a different request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"companyName":{"type":"string","minLength":1,"maxLength":200},"website":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"founderName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"founderEmail":{"anyOf":[{"type":"string","maxLength":320},{"type":"null"}]},"sector":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"stage":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"evaluate":{"default":true,"type":"boolean"}},"required":["companyName"]}}}}}},"/deals/{id}":{"get":{"operationId":"getDeal","summary":"One deal with its score, findings and risks.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/companies":{"get":{"operationId":"listCompanies","summary":"Companies in the fund (one per deal): name, website, sector, stage.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/decisions":{"get":{"operationId":"listDecisions","summary":"Pass / Meet / Invest decisions with their reasons.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"deal_id","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createDecision","summary":"Record a decision. Needs decisions:write set on the key and a creator who may decide.","security":[{"bearer":[]}],"x-scope":"decisions:write","parameters":[{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency-Key reused with a different request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"dealId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"decision":{"type":"string","enum":["pass","meet","invest"]},"reasonCode":{"type":"string","enum":["team","market_size","traction","competition","valuation","thesis_fit","timing","founder_market_fit","other"]},"reason":{"type":"string","maxLength":4000}},"required":["dealId","decision"]}}}}}},"/decisions/reasons":{"get":{"operationId":"listDecisionReasons","summary":"The fixed list of decisions and reason codes.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/outcomes":{"get":{"operationId":"listOutcomes","summary":"Resolved calls: what the fund predicted and what happened.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createOutcome","summary":"Record what happened to a company (raised, failed, acquired...).","security":[{"bearer":[]}],"x-scope":"outcomes:write","parameters":[{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency-Key reused with a different request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"dealId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"outcome":{"type":"string","minLength":1,"maxLength":50},"notes":{"type":"string","maxLength":1000},"occurredAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["dealId","outcome"]}}}}}},"/deals/{id}/memos":{"get":{"operationId":"listMemoVersions","summary":"Memo versions for a deal, newest first.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/memos/{id}":{"get":{"operationId":"getMemoVersion","summary":"One memo version with its claims and sources.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/deals/{id}/founder-brief":{"get":{"operationId":"getFounderBrief","summary":"The latest founder brief for a deal; partial sections while status is running.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/deals/{id}/thesis":{"get":{"operationId":"getThesisFit","summary":"How a deal fits the fund's thesis rules.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/deals/{id}/notes":{"get":{"operationId":"listNotes","summary":"Notes on a deal.","security":[{"bearer":[]}],"x-scope":"notes:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createNote","summary":"Add a note to a deal.","security":[{"bearer":[]}],"x-scope":"notes:write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Idempotency-Key reused with a different request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":5000}},"required":["content"]}}}}}},"/contacts":{"get":{"operationId":"listContacts","summary":"The fund's contacts.","security":[{"bearer":[]}],"x-scope":"deals:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/lp-reports":{"get":{"operationId":"listLpReports","summary":"LP reports, newest first.","security":[{"bearer":[]}],"x-scope":"reports:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/lp-reports/{id}":{"get":{"operationId":"getLpReport","summary":"One LP report.","security":[{"bearer":[]}],"x-scope":"reports:read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/usage":{"get":{"operationId":"getUsage","summary":"Usage and credits for the fund this period.","security":[{"bearer":[]}],"x-scope":"usage:read","parameters":[{"name":"period","in":"query","required":false,"schema":{"default":"month","type":"string","enum":["month","quarter","vintage"]}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/members":{"get":{"operationId":"listMembers","summary":"The fund's members and roles (read only).","security":[{"bearer":[]}],"x-scope":"members:read","parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page (1-200).","schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","maxLength":200}},{"name":"updated_since","in":"query","required":false,"description":"Unix seconds. Only items created or changed at or after this time.","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}},{"name":"IdeaPulley-Fund","in":"header","required":false,"description":"Optional. The fund you mean, as firm/fund (e.g. ycombinator/ii) or its numeric id. A key acts in one fund; any other answers 404. ?fund= works too.","schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, wrong, expired or revoked key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The key or its creator's role lacks the scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or not visible to the key's creator","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit (per key, per minute)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}