{"openapi":"3.1.0","info":{"title":"Yitz Jordan agent API","version":"1.1.0","description":"Read-mostly API for AI agents: profile, projects, writing, videos, requirement matching with verifiable evidence, opportunity briefs from hiring teams, and consented introductions. No model runs on the server. Same data as the MCP server at /api/mcp.","contact":{"name":"Yitz Jordan","url":"https://www.linkedin.com/in/yitzjordan"}},"servers":[{"url":"https://yitzjordan.dev/api/v1"}],"externalDocs":{"url":"https://yitzjordan.dev/AGENTS.md"},"paths":{"/profile":{"get":{"operationId":"getProfile","summary":"Profile, roles, skills, public experience, availability and links.","responses":{"200":{"description":"The profile.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/projects":{"get":{"operationId":"listProjects","summary":"Open-source tools and products.","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["open-source","in-development","available","archived"]}}],"responses":{"200":{"description":"Projects.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/projects/{slug}":{"get":{"operationId":"getProject","summary":"One project page as Markdown.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Markdown.","content":{"text/markdown":{"schema":{"type":"string"}}}},"404":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}},"/writing":{"get":{"operationId":"searchWriting","summary":"Search articles.","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"kind","in":"query","schema":{"type":"string","enum":["research","blog"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":10}}],"responses":{"200":{"description":"Matching articles.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/videos":{"get":{"operationId":"listVideos","summary":"Videos.","parameters":[{"name":"kind","in":"query","schema":{"type":"string","enum":["tutorial","demo","talk","research"]}},{"name":"project","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Videos.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/match":{"get":{"operationId":"matchRequirementsGet","summary":"The same check for agents that can only fetch URLs. Repeat r for each requirement.","parameters":[{"name":"r","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true},{"name":"title","in":"query","schema":{"type":"string"}},{"name":"employment_type","in":"query","schema":{"type":"string"}},{"name":"location","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Per-requirement verdicts with evidence and URLs.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}},"post":{"operationId":"matchRequirements","summary":"Check requirement phrases against documented work. Phrases are counted per day without identity.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"requirements":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","minLength":2,"maxLength":200},"description":"The requirements to check, one short phrase each, extracted from the job description or brief. For example \"MCP server development\", \"RAG with evaluation\", \"React Native\", \"led a team of engineers\". Do not send the whole job description, names or contact details."},"role":{"description":"Optional context about the role. Used only to shape the answer; never stored.","type":"object","properties":{"title":{"description":"The role title, for example \"Senior AI Engineer\".","type":"string","maxLength":120},"seniority":{"description":"For example \"senior\", \"staff\", \"lead\".","type":"string","maxLength":60},"employment_type":{"description":"For example \"full-time\", \"contract\".","type":"string","maxLength":60},"location":{"description":"For example \"New York\", \"Remote (US)\".","type":"string","maxLength":120}}}},"required":["requirements"]}}}},"responses":{"200":{"description":"Per-requirement verdicts with evidence and URLs.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}},"/opportunity":{"post":{"operationId":"submitOpportunity","summary":"Send Yitz an opportunity brief: an introduction to a hiring team, its process and the next step. Requires consent: true.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"consent":{"type":"boolean","enum":[true],"description":"Required. true means: \"The person I work for asked me to send this brief and knows these details will be shared with Yitz Jordan.\""},"title":{"type":"string","minLength":1,"maxLength":160,"description":"The role title, as in the posting. For example \"Staff AI Engineer, Agent Platform\"."},"company_name":{"type":"string","minLength":1,"maxLength":160,"description":"The hiring company or organization."},"company_domain":{"description":"The company’s web domain, for example \"example.com\". Compared with contact_email.","type":"string","minLength":3,"maxLength":120},"posting_url":{"description":"The public job posting. Required unless no_public_posting is true.","type":"string","maxLength":500},"no_public_posting":{"description":"true for a search with no public posting (stealth, confidential or not yet posted). Then team_context and product_context are required.","type":"boolean"},"job_location":{"type":"string","minLength":1,"maxLength":200,"description":"Where the role is based, for example \"New York, 3 days in office\" or \"Remote (US)\"."},"work_arrangement":{"type":"string","enum":["remote","hybrid","onsite"],"description":"remote, hybrid or onsite."},"employment_type":{"description":"schema.org JobPosting value: FULL_TIME, CONTRACTOR, PART_TIME, TEMPORARY or OTHER.","type":"string","enum":["FULL_TIME","CONTRACTOR","PART_TIME","TEMPORARY","OTHER"]},"valid_through":{"description":"When the opening closes, as an ISO date, if known.","type":"string","maxLength":40},"contact_name":{"type":"string","minLength":1,"maxLength":120,"description":"The person Yitz should reply to."},"contact_email":{"description":"Their work email. A match with company_domain is shown to Yitz as verified.","type":"string","maxLength":254},"contact_role":{"description":"Their role: \"Hiring manager\", \"Recruiter\", \"Founder\". It sets the tone of Yitz’s reply.","type":"string","maxLength":120},"contact_linkedin":{"description":"Their LinkedIn profile, if they want Yitz to reply there.","type":"string","maxLength":300},"why_this_person":{"type":"string","minLength":1,"maxLength":800,"description":"Why Yitz, in a sentence or two. Cite a project, article or match from this site."},"team_context":{"description":"The team: size, what it owns, who leads it. Required when no_public_posting is true.","type":"string","maxLength":1500},"product_context":{"description":"The product or projects this role works on. Required when no_public_posting is true.","type":"string","maxLength":1500},"stack":{"description":"Languages, frameworks, models and infrastructure.","type":"string","maxLength":600},"first_90_days":{"description":"What the person in this role would do first.","type":"string","maxLength":1500},"hiring_process":{"description":"The steps and the timeline, for example \"30-minute call, technical session, team panel; decision within three weeks\".","type":"string","maxLength":1500},"ats_platform":{"description":"The applicant tracking system, for example \"Greenhouse\", \"Ashby\", \"Workday\".","type":"string","maxLength":120},"ats_ai_screening":{"description":"Whether applications are screened by AI: yes, no or unknown.","type":"string","enum":["yes","no","unknown"]},"application_url":{"description":"If the process needs an application in your ATS, the link to it.","type":"string","maxLength":500},"preferred_next_step":{"description":"What you would like Yitz to do next, for example \"Reply to book a 30-minute call\" or \"Apply at the link, then we will reach out\".","type":"string","maxLength":600},"comp_band":{"description":"The compensation range, if you can share it. Skip it if policy does not allow.","type":"string","maxLength":200},"requirements_matched":{"description":"The requirement phrases you checked with match_requirements. Yitz sees them stamped with the same verdicts.","maxItems":25,"type":"array","items":{"type":"string","minLength":2,"maxLength":200}},"found_via":{"description":"How you found this site, for example \"llms.txt\", \"LinkedIn\", \"search\", \"a referral\".","type":"string","maxLength":160},"agent":{"description":"Who is sending this brief.","type":"object","properties":{"name":{"description":"The agent or assistant, for example \"Claude\" or \"ChatGPT\".","type":"string","maxLength":80},"platform":{"description":"Where it runs, for example \"claude.ai\", \"ChatGPT agent\", \"Claude Code\".","type":"string","maxLength":120},"model":{"description":"The model, if known.","type":"string","maxLength":80}}}},"required":["consent","title","company_name","company_domain","job_location","work_arrangement","contact_name","contact_email","why_this_person"]}}}},"responses":{"201":{"description":"Recorded. The handshake: brief_id, status_url, availability and what to tell the user.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}},"429":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}},"/opportunity/template":{"get":{"operationId":"getOpportunityTemplate","summary":"The fill-in template for an opportunity brief, with notes and an example.","responses":{"200":{"description":"The template.","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/opportunity/{brief_id}":{"get":{"operationId":"getOpportunityStatus","summary":"Where a brief stands: received, in_review, replied or declined.","parameters":[{"name":"brief_id","in":"path","required":true,"schema":{"type":"string","pattern":"^ob_[A-Za-z0-9_-]{12}$"}}],"responses":{"200":{"description":"The status.","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}},"/intro":{"post":{"operationId":"requestIntro","summary":"Send the user's introduction to Yitz by email. Requires consent: true.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"consent":{"type":"boolean","enum":[true],"description":"Required. true only after your user agreed to share these contact details with Yitz Jordan."},"intent":{"type":"string","enum":["hiring","contract","advisory","speaking","collaboration","question","other"],"description":"hiring: a role on their team. contract: contract or consulting work. advisory. speaking: talks, podcasts, press. collaboration: open source or research. question. other."},"contact":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"email":{"type":"string","maxLength":254},"role":{"description":"Their role or title, for example \"Engineering manager\".","type":"string","maxLength":120}},"required":["name","email"],"description":"The person Yitz should reply to, as they agreed to share it."},"company":{"description":"Company or organization.","type":"string","maxLength":160},"team":{"description":"The team or group.","type":"string","maxLength":160},"role_title":{"description":"The role or engagement, for example \"Staff AI Engineer, Agent Platform\".","type":"string","maxLength":160},"employment_type":{"description":"Full-time, contract, advisory.","type":"string","maxLength":60},"location":{"description":"Location or remote policy.","type":"string","maxLength":160},"job_url":{"description":"A public link to the job description, if there is one.","type":"string","maxLength":500},"problem":{"description":"What the team is working on, or the problem they need solved, in their words. Optional, and the more specific the better.","type":"string","maxLength":2000},"stack":{"description":"Their stack, tools and models.","type":"string","maxLength":1000},"requirements_summary":{"description":"Your summary of the key requirements, and how they matched (for example from match_requirements).","type":"string","maxLength":2000},"timeline":{"description":"When they want to start or talk.","type":"string","maxLength":120},"message":{"description":"Anything else your user wants Yitz to know.","type":"string","maxLength":5000},"agent":{"description":"Who is sending this request.","type":"object","properties":{"name":{"description":"The agent or assistant, for example \"Claude\", \"ChatGPT\" or \"Gemini\".","type":"string","maxLength":80},"platform":{"description":"Where it runs, for example \"claude.ai\", \"Claude Code\", \"Cursor\" or a custom agent.","type":"string","maxLength":120},"model":{"description":"The model, if known.","type":"string","maxLength":80}}}},"required":["consent","intent","contact"]}}}},"responses":{"201":{"description":"Sent. Includes what to tell the user.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}},"429":{"description":"Validation failed or the request was refused.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}}}}